Custom Error Pages
Want neat looking 404 error pages? Follow the tutorial correctly and you’ll have Some for your own website.
Make a page named 404.shtml (you can name this 400, 401, 403, 404, or 500 depending on which error page you are creating. Put your headers, footers, CSS, and anything you put on regular page headers in there. Type anything you want. You can put images, scripts, etc. It’s endless what you can put. Just remember that this is the page that people will go to when they come across a page that doesn’t exist, so consider putting links on there like a link back to hour homepage for instance. When you’re done, upload it to your main directory.
Open a new document and paste this code into it
Save this file as htaccess.txt. You can add as many of the error pages as you want in this file, depending on which ones you have created. Be sure to change the ’404′ part if you’re making a different error page!
Upload your htaccess.txt file to your main directory.
You’re done! Test it out by going to some non-existent page on your site.

More on 

