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/
A highly effective website will always reflect its highly effective... Read More
Here are a few programs I can't do without. They're... Read More
On the internet we don't deal with face to face... Read More
One of the most popular methods of traffic generation is... Read More
We will take a look at why your visitors may... Read More
From my personal experience of around two year as home... Read More
A few years ago a lot of websites utilized frame... Read More
Are you in a dilemma whether to create a mini... Read More
"Oh, my eyes, my eyes! What an eye sore. Quick,... Read More
Web site design has certainly, in the past decade, evolved... Read More
When creating an e-cover the what's the first thought that... Read More
Have you put a lot of effort, time, and money... Read More
We all want high impact graphics for our Web sites... Read More
A professionally presented business website is a powerful and essential... Read More
Typos, misspellings, hideous grammar, exclamation overkill and run-on sentences all... Read More
It is common sense.The more time people spend at your... Read More
Sooner or later every small or medium business owner realizes... Read More
New Web sites are springing up online by the millions.... Read More
Are you using the best colors for your web site?... Read More
You're almost set. The content of your website, e-book, or... Read More
Here are 10 dynamic website advertising tactics to super-charge your... Read More
No matter what product or service you're promoting, unless you... Read More
The internet is filled with sites and they are good... Read More
Your web site should be-visitor friendly to navigatesearch engine friendly... Read More
Many websites make the mistake of being all flash and... Read More
reliable maid service Winnetka ..The top ten fonts for website design might change in... Read More
They may look cutting edge, but if you want a... Read More
Remember the famous line from the movie Field of Dreams,... Read More
Page ranking by search engines such as Google are not... Read More
Imagine you're going on a blind date. You've heard wonderful... Read More
If your website is falling through the cracks, the chances... Read More
Your home page is the most important page of your... Read More
Due to the large number of people offering website design... Read More
To explain my point I need to first confuse the... Read More
The internet is filled with sites and they are good... Read More
Writing for your web site is not the same as... Read More
As search engine marketers, we spend an enormous amount of... Read More
What is web usability & why is it important?Web usability... Read More
It is common sense.The more time people spend at your... Read More
Good websites stand out from the masses of boring, hard... Read More
There are often many mistakes encountered when creating a webpage... Read More
As a web designer, I have a personal interest in... Read More
Sooner or later every small or medium business owner realizes... Read More
As my occupation is that of a proofreader, one of... Read More
Let's face it. Building a web site that browses consistently... Read More
When building your website you might not have a large... Read More
When creating an e-cover the what's the first thought that... Read More
Designing your website can be a difficult task especially if... Read More
FACT: 30 to 60% of visitors tend to drop off... Read More
1. Repackage your web site content in to different products... Read More
Web Design |