Jump to content

Best Method To Redirect An Old Index.htm/home.htm


Norman
 Share

Recommended Posts

I had a index.html and a home.htm in my website. Now I have an index.php. Google webmaster tool in the scan errors says that these pages aren't founded on my server: index.html and home.htm. Then, wich is the best method to redirect this html pages in my new index.php? I'd like to know the best method for search engines.

Link to comment
Share on other sites

As your using .php, then I presume your on an apache server.Best way is to use .htaccess and a 301 redirect. This tells the SE's that this file has been permantly moved to this new place or file. Anyone that tries to access your old files will automagically be redirected to the new file too.

Edited by real_illusions
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...