Search
Related Links




    

Informative Articles

Are You Waiting for Microsoft Longhorn
I love new technology. I am still ready to wait long for Longhorn. I have tried almost all operating systems of Windows series. My interest in Longhorn is building up day by day and the reason is..! From beginning Microsoft is very successful to...

IBM Lotus Domino or Microsoft Exchange?
IBM Lotus Domino or Microsoft Exchange? The severe competition continues for many years between two main leaders in collaboration solutions - IBM and Microsoft. Whether the choice of a platform influences the ordinary user? The both of software...

Improving SQL Performance
How do you know how much hardware is really needed by your applications? And what do you do when your applications are overloading your system? The answer lies with improving your SQL performance. You have to tune your hardware SQL server and...

Reviving Old Computer Games
Remember the good old days of gaming, when there were only 5 pixels in the protagonist and your imagination could turn them into a heroic figure of Schwarzenegger proportions? When the enemies and the heroes were distinguished by colour and you only...

Wireless Network Security
Working from home has its advantages, including no commute, a more flexible work schedule and fresh coffee and home-cooked meals whenever you want. But working from home while using a wireless local area network (WLAN) may lead to theft of...

 
Custom Error Pages

Ever get a complaint from a customer or visitor about broken links or error pages which seem to randomly appear on your site? Here's the solution... make your own custom error page which will forward visitors to any page you specify. You may choose to send them to your home page, or perhaps a special information page asking them to notify you of the problem.

HOW?

Make your custom page and upload it to your server. Look on your server for a file called .htaccess using your FTP program. http://www.hardwaresoftwarearticles.com If you do not find one, create a new file in notepad and name it .htaccess --


upload this file to your server's root directory. Now, you will need to add a special line to the file to make your custom error page work. Click on the file on your server and click the "edit" button. Add the following text to a new line:

ErrorDocument 404 http://www.yourdomain.com/custom-error.html That's all there is to it! This "may" not work on some servers, but you never know until you give it a try. No More Errors!
About the Author
Adam Fletcher is the webmaster of Hardware Software Articles http://www.hardwaresoftwarearticles.com .