Click to See Complete Forum and Search --> : How to create a custom 404 message page


BestZest
01-02-2003, 11:39 AM
Does anyone know how to create a custom 404 error page for my site. Do you have to use server side scripting like ASP?
Thanks.

khalidali63
01-02-2003, 11:52 AM
Yes, you will have to configure your http server to look for a custome error page when it generates a 404-not found error

Khalid

chrisssantry
01-02-2003, 01:59 PM
To do this you need access to your sites .htaccess file. Which not all providers support. In your .htaccess (create one if there isn't one already in notepad, put it in the root directory) then insert the line

ErrorDocument 404 /errors/custom404.html

Where errors/custom404.html is your custom error page.

or alternitavely you insert

ErrorDocument 404 "Sorry, this page doesn't exist.

and the page will just display some text.

For more information on this subject please visit

http://www.plinko.net/404/