Webmaster Tutorials - Web Design
Webmaster Resource Directory | Contact Us | Submit Your Site

LEARN

BUILD

PROMOTE

SELL

MANAGE

GET LISTED



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 Web Design Articles

Essential Strategies To Make Your Web Copy Attractive To Your Target Audience
Reading on the web is different than reading in all other formats. People approach it differently and you need to have strategies that capitalize on those differences so you can connect with your prospects.

Optimized Web Page Template
I want to give you a free web page template that will be search engine friendly. Why?Well, I assume you want your web page to come up as high as possible in search engines because that generates free traffic.

Cascading Style Sheets for Better Web Design
In cascading style sheets you can specify how your web pages will be presented on the screen by simply predefining page elements such as fonts, headers and links.You can add these predefined elements in the head-section of your pages, but more interesting is to use them in a single .

How To Increase Your Conversion Rate or What Most People Miss When It Comes To Optimization
Everybody talks about the importance of testing your sales copy or a page layout. After all, proper testing can help you modify your page in a way that will drastically increase your conversion rate.

Designing Your Websites Directory Structure
Any kid, and their grandmother too, can make a webpage. There are many "wysiwyg" webpage design applications that let you create a webpage as easy as typing text.

Tips for Getting More Sales From Your Website
(1) Create a Direct Response Website, with the minimum number of pages possible (e.g.

Want to Increase Your Online Sales? Make Sure That Your Web Site Has a Unique Selling Proposition
If you own a web site or if you are going to build a new one, the most important thing about your site is to achieve as high as possible visitors to sales conversion rate.Although they say that "the traffic is king online", if your website converts poorly, your online business will fail, unless you receive tons of free traffic which I doubt.

Use Feng Shui Techniques To Design a Harmonic Website For Your Business
By following feng shui guidelines and techniques, you can build and design a business website that is not only visually attractive but also attractive to wealth and prosperity. The elements that are part of a business website are somehow equivalent to the objects distributed through a working space since the website is the electronic version of the actual business' offices.

Wording Up Your Website
Back to basics. Forget funky design, good copywriting is the key to a clear and intuitive website.

6 Reasons Why Using Flash is a BIG Mistake
Most web designers and web design companies will try to convince you that if you want your business to have the best site possible that you MUST have a flash site. Flash, for those of you who are newbies, is a software program that can create really cool special effects and animations.




Helpful Tools

NetDownload
freeware and software downloads

Findahost
web hosting directory

FindaTechJob
new computer jobs daily

ManagedHostingPro
Managed Hosting and Colocation



© 2007 webmasteredge.com