404 Error - The Page Cannot be Found


A "404 Error" happens when the web server you are on cannot find the page that you requested. This type of error is quite common and is seen all over the place.

404 Errors can be caused by many different problems, though generally they are caused by either dead links, or errors in the websites coding. Dead links often occur when a webmaster puts external links on his website, then the website he is referring to changes, moves, or no longer exists. Coding errors on the other hand can happen all over the place! Quite often webmasters neglect to check their links as they are making them, this means that there could be a spelling mistake in the URL, a missing slash or pretty much any typing error you could think of. It's good practice to check all links as you make them!

Internal links, or links to pages within the same website also get 404 errors from time to time. Unfortunately this is due to the webmasters neglect of his own website. If modifications were made to the website, he should have checked his website, or ran an automated program to check all of his links. Broken internal links look bad and unprofessional.

There are a few ways that a webmaster can mask his errors, or at least do some recovery work if an error occurs. If a webmaster changes the framework of his website he can create re-direct pages that will move the user to their the main index, or the updated version of the page that they requested. Additionally, they should be able to stop 404 Errors all together by creating an automatic forward whenever an error occurs.

A couple tricks for webmasters to help reduce the amount of 404 errors, or try to hide the errors is to modify the .htaccess file in their website directory. This file has one variable that can be set that will allow you to specify the page that you want to send the user, should a 404 occur.

Example: ErrorDocument 404 index.php
Example: ErrorDocument 404 404.php

The first example would automatically send the user back to the main index (if the main index was called index.php), and the second would send them to a customized 404.php file, which could display an error message, or send you an auto-notification of an error that happened. Keep in mind that if you use non-absolute directories that you may not feed out the correct page. For instance if the error occurs in a subdirectory on your website, and you specify index.php as your error document, there may not be an index.php in that subfolder, thus it might be a good idea to put the below example instead.

Example: ErrorDocument 404 http://www.yoursite.com/

Note: If you use Apache HTTPD you can setup the default error documents in the configuration file!

Ken Dennis
KenDennis-RSS.homeip.net/">http://KenDennis-RSS.homeip.net/


MORE RESOURCES:
Web Design Company in UK offers hosted websites to businesses - BigNews.biz (press release)

Web Design Company in UK offers hosted websites to businesses
BigNews.biz (press release), MA - Aug 14, 2008
Web Site design and Software Development Company in London, http://www.kronikmedia.co.uk offers an innovative approach to web site design in UK. ...


Imagination.gs Offers Customized Web Design Built For The ... - PowerHomeBiz.com (press release)

Imagination.gs Offers Customized Web Design Built For The ...
PowerHomeBiz.com (press release) - Aug 15, 2008
The intent of web design is to create a web site (a collection of electronic files residing on one or more web servers) that presents content (including ...


Surgedesign.ca Announces it's new website! - Wire Service Canada (press release)

Surgedesign.ca Announces it's new website!
Wire Service Canada (press release), Canada - Aug 12, 2008
Edmonton based webdesign firm, Surgedesign, announced today that they have released their new website and are pursuing a new client-oriented business plan. ...


RAGE WebCrusher Streamlines Web Code - The Mac Observer

RAGE WebCrusher Streamlines Web Code
The Mac Observer - Aug 6, 2008
The application is compatible with iWeb, WebDesign, Rapidweaver, Dreamweaver, Freeway, and several other Web design tools. It can publish optimized files ...


Partnership plans to take on the big boys - nebusiness.co.uk

Partnership plans to take on the big boys
nebusiness.co.uk, UK - Aug 22, 2008
A PARTNERSHIP working agreement struck between two webdesign companies on Teesside could be a template for others to follow if Middlesbrough really wants to ...


Google Pays Back In A Link Exchange Offer! - Search Newz

Google Pays Back In A Link Exchange Offer!
Search Newz, KY - Aug 19, 2008
... and holiday sites to this site,we can give you two back links from the following theme travel, home, webhosting, webdesign, seo, garden and more sites. ...


Seo Firm India Celebrated Independence Day - SEO Web Design Firm

Seo Firm India Celebrated Independence Day
SEO Web Design Firm, India - Aug 15, 2008
But Seo web design firm team members came in office and done Flag Hoisting Ceremony. We remembered freedom fighters struggle for this Independence. ...


Vorteile einer Webdesign Agentur - prcenter.de - Online Pressezentrum

Vorteile einer Webdesign Agentur
prcenter.de - Online Pressezentrum, Germany - Aug 26, 2008
Durch die Vielzahl der dabei notwendigen Kernbereiche wie Webdesign, Programmierung, Textgestaltung, Browseroptimierung, SEO, Analyse etc. wird schnell klar ...

UBB Webdesign.com © 2008