Bookmark This Page

HomeHome SitemapSitemap Contact usContacts

| Resource | Articles | News | Tools | Package |

Search Engine Position Optimization

Utilizing descriptive file naming is essential to any quality search engine optimization project. But what about the old file names, which no longer exist? The use of a 404 error page is recommended to avoid search engines finding broken links and non-existent pages.

But what is a 404 error page? To answer this, we must first understand what a 404 error is. A 404 DNS error is commonly known as a File Not Found error. This is what you see when you type in a URL that does not exist into your browser's address bar. Usually, the server returns something akin to 404 - File Not Found. If a search engine comes across such an error, it can have a negative impact on your search engine visibility. The solution to this is the creation of a custom error page, usually named 404.htm. When this page is extant on the server, instead of a File Not Found error being returned, the 404.htm file is returned. It can be thought of as a "catch-all" page, that is displayed when no file corresponding to the file called upon in the address bar exists.

Most good seo's will implement what is known as descriptive file naming as part of a search engine optimization project. In a nutshell, descriptive file naming is simply the naming of HTML files according to the content of that file. Fore example, let's say you own a carwash in Austin, Texas. You have a page which itemizes your various services and their corresponding prices. Currently, the page is named services.htm. After search engine optimization, this page is renamed to something like austin-carwash-services.htm, utilizing a descriptive file naming methodology. The problem is that search engines may have already indexed the services.htm page, or third party (external) web sites may link to the services.htm page. Obviously, you don't want people using these links to reach a non-existent page, and likewise you don't want search engines linking to it or finding non-existent pages. The 404.htm page is also useful in the event external links or user inputs contain typographical errors.

Installing a 404.htm file on the server, and enabling custom error pages in your control panel (if necessary), solves the problem. Any user who clicks on a link to the old services.htm page reaches the 404.htm page instead of receiving a 404 DNS error. Search engines do the same thing. This ensures that no user is left stranded in "no man's land", and increases web site "stickiness".

Critical Elements of a 404 Error Page

Remembering that the 404.htm file will be encountered any time a 404 error would otherwise be returned, it is intuitive that the page must contain generic content, related to the overall theme of the site, as opposed to page-specific content. What this means is that creating a 404.htm file, in the example above, solely for the missing page services.htm, would be a mistake. For example, if you created your 404.htm file to be a mirror of the old services.htm file, if someone linked to another non-existent page of your site, for example an about us page named about.htm which has been renamed, they would land on the 404.htm page containing service information. This would likely lead to confusion on the part of the user. As such, building a 404.htm page with generic information is best practice.

A 404.htm page should hold the same "look and feel" as the rest of the site. Usually, this would mean a banner image with navigation bar, with an area for page-specific body content. Using the CSS or web site page template, create the 404.htm page to contain body text which informs the user of the non-existence of the desired page, and clearly directs the user to important areas of the web site.

So, at a minimum, the 404.htm page would contain the following:

1) Same look and feel as the rest of the site

2) Error message, such as "The page entered was not found on our server. Please try one of the links below to find what you are looking for."

3) Have clearly marked links to the following: Home Page, Site Map, and Contact page.

Many organizations may also wish to include a search box, so that the stranded user could search for the desired information right from the 404 error page.

Things to Avoid in a 404 Error Page

As previously stated, avoid the use of page-specific information on a 404 error page. Make sure the page contains general information with links as to how to get home, get to the site map, and contact the company.

The use of a 404.htm error page that is simply a mirror of the home page can be confusing and lead to a user abandoning the site. This practice should be avoided.

The use of a javascript or other redirect to the home page, even with a delay informing the user of the impending redirect, should be avoided. Not only does this lead to the problem mentioned above, but other undesired effects can occur. For example, check out this post from www.cre8asiteforums.com:

"Personally think it's a bit dangerous to have a 404 page linked to the homepage.

"We launched a site with that recently, something was a bit wrong with the homepage, and something was returning a 404, so it created an endless loop that knackered the server and caused the site to be horrendously slow. Not good...."

This is an example of something gone horribly wrong using a 404 page to redirect to another page.

Summary

The use of a 404.htm custom error page is recommended for both search engine optimization and user friendliness. Following the guidelines herein will ensure that both your users and search engines can find the relevant content for which they are looking.

About the Author: Matt Foster is the President of ArteWorks Business Class, http://www.arteworks.biz, and is an expert in search engine optimization, regularly achieving top rankings for his clients. Mr. Foster has been active in the industry since 1995. For further information, or to begin the process of optimizing your site for search engines, please contact Mr. Foster toll free at 877-812-2217, or by email to matt@arteworks.biz.