Forum Moderators: phranque

Message Too Old, No Replies

Old Page Redirect

redirect delete

         

batterysaver

8:59 pm on Nov 22, 2003 (gmt 0)

10+ Year Member



Problem:
I have many old html pages that I would like to delete from my website. Can I delete them and add some redirect command so that if someone comes to my site via that page, and it is not there, it will redirect them to the home page.(index.html) I'm to to worried about SE ranking at this time.

Restated:
Is there one command I can insert (with out going through every page) so if the page is not found it will redirect them to the index.html page?

If so, where are the directions to do this for beginners.

Thanks millions,

sidyadav

12:07 am on Nov 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



batterysaver, delete all the pages that you want redirected to the homepage, make a file called .htaccess and put this code into it:
ErrorDocument 404 [your-widgets-site.com<...] replacing the "www.www.your-widgets-site.com" with your website, and it should all work, I had the same problem as you and did the same thing.

Sid

oh and BTW, Welcome to WebmasterWorld!

batterysaver

5:34 am on Nov 24, 2003 (gmt 0)

10+ Year Member



I got it. Thanks