The conventional / standard error pages that a web server outputs,
gives little info to the end user, and can be a reason for the user to leave your website.
So, using a .htaccess file, uploaded to your document root,
you can specify custom pages to show up, when an error occurs.
Heres how.
In your .htaccess file,
you have to put and entry like this :
Code:
ErrorDocument Error_Code_Number Path/to/your/custom/error/file
Some sample entries are as follows :
Code:
ErrorDocument 400 http://www.example.com/400.htm
ErrorDocument 401 http://www.example.com/401.htm
ErrorDocument 403 http://www.example.com/403.htm
ErrorDocument 404 http://www.example.com/404.htm
ErrorDocument 500 http://www.example.com/500.htm
These custom error pages can also serve as advertising spots.
[This brief tutorial is written by Shadab]
Thanx,
Shadab.