2006/06/26

Error 404 web page

Browsers have ugly information pages presented to users for error 404 (Page Not Found). It is a good practice for webamsters to create their own 404 error handling page such that some basic information can be presented to visitors why the page are not found or they have mis-typed URLs spelling.

Mine is simple with a straight forward message, no graphic :

"Woops ... The page you request can not be found.
Please make sure you type the URLs with correct spelling. Good luck, friend...."

In Apache, the directive for this task in httpd.conf is in the line :

ErrorDocument 404 /errors/custom404.html

No comments: