Custom 404 Error Pages and Search 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.
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. 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.
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
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
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.



7 Comments:
Hi Matt,
Thanks for the article. I'm have a bit of a dilemma. Our web site, www.sexyfurnishings.com, has several products ranked highly on Google. We like the overall design of our site, but it is way too cumbersome to update the site. We write the code for each and every page "by hand" in notepad and upload the files via CuteFTP. We're looking at using Yahoo or Volusion so that we can (a) improve our shopping cart, which is pretty bad currently (2) upgrade our web mail system and (3) most importantly, to make it easier to add new products and update products and categories, leaving us with more time to focus on growing the biz instead of constantly updating the site. While the obvious concerns regarding using design templates with Yahoo/Volusion exist, our biggest concern is with our search rankings changing as a result of our page names changing. Volusion automatically generates page names for each product added to their database that do not include the product name in the address (they include the SKU code we create)....we're not very fond of this. However, we might be able to at least include the name in the URL if we give each product a SKU code that is the product name (e.g., the SKU for Shoe Chair would be shoechair instead of SF0001). With Yahoo we don't have this problem. However, we have the .shtml extension on our pages and Yahoo uses the .html extension and saves all files at the root directory (e.g., www.domain.com/filename.shtml) whereas we save our html files at www.domain.com/html/filename.shtml. So in order for us to maintain our search rankings, we need to devise a way to have users coming to www.domain.com/html/filename.shtml get redirected to www.domain.com/filename.html. Can we do this without screwing up our search results?
We're a smallish sized company and our only source of revs comes from the traffic we generate organically with the search engines. So while I would love to save time using an easy to edit system like Yahoo / Volusion, search rankings probably trump this necessity. One thing I was considering since we will be spending time getting the site ready to launch with one of those services (most likely Yahoo) is creating the file names that Yahoo's system would create and making them functional and then just redirecting the existing pages to these new pages.
Anyway, sorry for the long winded response. Let me now your thoughts.
Best,
Mike
mike@sexyfurnishings.com
Hello:
Stay away from both Yahoo and especially Volusion. I recommend PrimeCart, www.primecart.com, search engine friendly ecommerce software.
Thanks Matt. Could you explain why this software program is better?
Regards - Mike
Thanks Matt. Could you explain why this software program is better?
Regards - Mike
Hello:
PrimeCart is the only ecommerce software that was built by an internationally recognized, top 15 search engine optimization firm specifically for search engines. It is one thing to know how to write code or create another product, it is an entirely different thing to know what it takes for a site to be search engine friendly. It features such on page optimization techniques as image alt attributes, h1 tags, custom metadata and title information, use of static url's, rss, and many other features that are not found in any other ecommerce software.
Matt,
Thanks. Do you know if it can solve our problems with our urls for each product? That is, can we keep the same urls for each product as we currently have now, but still integrate the shopping cart and design of the site with the current layout?
Regards,
Mike
Hello Mike:
PrimeCart is what you need. The url’s would change, however since the article on descriptive file naming was written the ranking algorithms have changed. The name of the file (url) is now pretty much irrelevant. PrimeCart does what the search engines want. Example: brand new site, not even finished, www.onlykidshangers.com, is already #1 on msn for “childrens hangers” (see http://search.msn.com/results.aspx?q=childrens+hangers&FORM=MSNH ), after only a month, and the site has hardly any content on it and the site owner is not finished loading product. This is the kind of power you need. SEO is not about one thing, it is about over 100 factors, all of which are important.
As to any existing file names that you are afraid of losing the inbound link value of, we do either a custom error page or 301 permanent redirect, to bleed through all residual link value to the new pages.
The “home” page of you site can look however you want it to. The shopping area is equally customizable. For some examples, see:
example 1
example 2
example 3
These show you the flexibility that you can have with the store design and layout.
Please feel free to contact me if you have any additional questions. I am happy to help you, and to discuss options for optimizing your site.
Post a Comment
<< Home