Forum Moderators: phranque

Message Too Old, No Replies

Site Rebuild Question

404 Redirect

         

vc181200

1:52 pm on Apr 18, 2005 (gmt 0)

10+ Year Member



This one should be fairly simple.

I am rebuilding a site and will be renaming the files on the site. What information do I need to redirect the site to the home page if someone accidently clicks on a link that no longer exists. Is this the 404 redirect?

This is my first time doing this type of rebuilding.

JKMitchell

3:45 pm on Apr 18, 2005 (gmt 0)

10+ Year Member



Yes, you can do it via a 404 - just how depends on the way your hosting is set up. It may be as easy as creating a 404.html page and using the redirect meta tag, or you could do it via a .htaccess file - insert a line that says ErrorDocument 404 [domain.com...]