Forum Moderators: phranque

Message Too Old, No Replies

Need the correct 301 code

Need 301 redirect code

         

No5needinput

10:58 pm on Apr 14, 2007 (gmt 0)

10+ Year Member Top Contributors Of The Month



I have two sites on similiar subjects - example.info is an old dmoz topic dir clone and the other site is a clean informative .com

I want to delete all the files etc. on the .info site and redirect the index.php page only - To - index.html at the .com site.

The domain names are the same - except for the extension of course.

Thanks.

webdoctor

8:53 am on Apr 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want to delete all the files etc. on the .info site and redirect the index.php page only - To - index.html at the .com site.

What do you want a visitor to get when they try to access a subpage on the .info site? An error? A redirect?

Also, I'd strongly suggest you never link to pages by the names index.php or index.html - just leave the filenames off and let the server figure out the default document (so send people to http://www.example.com/ not to http://www.example.com/index.php or http://www.example.com/index.html or any of the other variations...)