|
HOME articles tutorials tool directory books about |
|
|
|
Our Other Sites
|
Custom Error PagesBanish generic 404 error pages from your Web site
Have you ever wondered why a bad link to some Web sites brings up a generic "The page can not be found" message (example) while others serve up a page that matches the style of the Web site (example)? The generic message is the result of browser and server defaults - i.e. that's what you get if the Webmaster hasn't taken steps to provide a custom error page. Even on the most rigorously policed Web site, page not found errors still occur. Other sites may provide bad links to yours, a user may mistype a URL, or search engines may contain links to pages on your site that have been removed long ago.
Fortunately, setting up a custom error page is really quite simple. The custom page can be substantially less jarring than the generic default. It can make the difference between the visitor staying on your site, or leaving immediately. To set one up on your Web site, follow these five steps:
Step 1: Design a New "Not Found" Error Page
Step 2: Place the New Error Page on Your Web Site
Step 3: Create an .htaccess File so the New Page is Used
Since many ftp programs won't show (or transfer) files with names that begin with a dot, we'll need to use a little work-around. The work-around is that we'll temporarily name the file htaccess.txt, and rename it to .htaccess later.
|
|
|
HOME articles tutorials tool directory books about (c) copyright 2000-2010 Anventure. All
Rights Reserved.
|
||