When a surfer tries to load a page that is not located on your server, your server will generate what is called a "404 Error", which means "I cannot find this file". Normally, your server will generate a simple report to the user, saying it could not find the requested file.

But, you can change what your server shows in this situation. In fact, you can tell the server to redirect the surfer to any URL you wish.

It's quite simple to do this. You should have a file called .htaccess somewhere on your server. It's usually in the main directory of your domain. If you do not, just create a new file called .htaccess and upload it to your server. Simply add the following line to your .htaccess file;

ErrorDocument 404

That tells the server that if it encounters a "404 Error" (File Not Found) redirect the browser to the specified URL

If you'd like to read more about 404 Errors and the .htaccess file, here are some links;

Step-by-step Guide
Another straight forward guide
Apache Documentation - rather technical

If you need any help getting this set up on your server, just get in touch with us (see Contacts) and ask!

Copyright 2004-2008. - All Rights Reserved.