Web Design Information

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
http://KenDennis-RSS.homeip.net/


MORE RESOURCES:

Founders find Destiny in Web design
Rochester Democrat and Chronicle, NY - May 11, 2008
The Webster-based Web design and applications firm started in February 2006 in a Greece basement. It was there that the six founders put together the ...


Web Design Company in UK Offers Outsourced Web Development and ...
The Open Press (press release) - May 10, 2008
(OPENPRESS) May 9, 2008 -- Kronik Media, the London based web design company are known for the value of their web development services for businesses. ...


Internet traffic congestions Solved Reports Dallas Web Design ...
WiredPRNews.com (press release), TX - May 9, 2008
Cambridge, MA (WiredPRNews.com) — In 1998, a few scientists from MIT University in Massachusetts came up with an idea that would prevent Internet congestion ...


Minneapolis Web Design Firm Launches Custom Website for Bus Rescue
Emediawire (press release), WA - May 9, 2008
Minneapolis web design company helps Bus Rescue save the day when a bus is broken down and needs service away from its home area. Nearest towing, repair and ...


Fusionbox Wins Top Marketing Honors for Superior Energy Web Design ...
TAXI Design Network, NY - May 9, 2008
Fusionbox received a 2008 Gold Key Award from the Colorado Chapter of the Business Marketing Association for their work with Superior Energy, ...


10 Things to know about Web Design
Gather.com, MA - May 8, 2008
Most web design companies will not write text. You could write the content yourself or hire a copy expert or marketing consultant to write it for you. 10. ...


Atlanta Web Design Agency NeboWeb Takes Home Multiple 2008 Horizon ...
TechLINKS (press release), GA - May 8, 2008
NeboWeb’s interactive marketing services range from complete interactive marketing engagements to standalone projects such as Web Design, Search Engine ...


Why Web design is an IT-marketing tug-of-war
Computerworld, Norway - May 1, 2008
There are also certain Web design elements that are counterproductive to successful search results. For instance, a common mistake is the abundant use of ...


Web Design on a Budget: Crucial Considerations
PR Web (press release), WA - May 8, 2008
Certain web design packages will include basic search engine ranking while others will not. "Investigate search engine optimization components such as ...


Upgrading a website? Four key SEO tips for web design firms
E-consultancy, UK - May 7, 2008
As many web design firms take on the remit of upgrading a client’s website, it is important to integrate best practice SEO techniques into the web design ...

Web-Design - Google News

home | site map
© 2006 Webhosting-Service.com - All Rights reserved. - GetWeb Media Webdesign Muenchen