| How you
have access to the .htaccess file lets
edit it. Add this line to the .htaccess
file: ErrorDocument 404 http://www.yourdomain.com/404page.html
Make
sure this line is kept on online. This is
where your 404 Error page is kept.
Now
youve change the .htaccess file you
need to create the page. This is simply a
normal HTML document. Once youve
created the HTML document, save it and
call it 404page.html. Now the next step
is to upload the .htaccess file and the
page to the server.
Now that
is done your next step is to turn it on.
This is done by setting the CHMOD
attribute to 644. You can do this via
telnet or some FTP programs. If your
going to telnet into your server, use the
following command:
chmod
644 .htaccess
Now test
to see if its worked. Just go to a
page that doesnt exist on your
server and you should see your new 404
Error page. If not, then make sure the
CHMOD is set correctly, and if that
doesnt help, you may want to ask
your hosting company for support.
|