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/
Ever wonder how HTML color codes are put together? For... Read More
The problem with designing your site as a graphic, is... Read More
Do you know why the majority of people use the... Read More
What colors do you have at your website?Can they make... Read More
By following feng shui guidelines and techniques, you can build... Read More
These days, it seems that everyone has a website. Unfortunately,... Read More
Have you heard of 'Babel Fish'?It's a service provided by... Read More
Your website is your tool for showing the online community... Read More
Let's face it. Building a web site that browses consistently... Read More
Are you in a dilemma whether to create a mini... Read More
Usability isn't only for Web design. It's also applicable in... Read More
You know that I'm always extolling the virtues of an... Read More
Choosing the right typeface for your website copy is important,... Read More
If you have a business, big or small you may... Read More
You're all ready to get started creating your web presence... Read More
Imagine spinning someone around so profoundly and for so long... Read More
I often wonder how serious people are when it comes... Read More
If you have a website, you want your visitors to... Read More
Being a writer, when I was asked to do some... Read More
FACT: 30 to 60% of visitors tend to drop off... Read More
In the of-line marketing world it is all about trying... Read More
There is nothing wrong with making your own website if... Read More
If you are trying to sell a product or service... Read More
Surfing the internet is basically an information-fest! From intellectual discussions... Read More
Novice and professional designers alike ? you may probably be... Read More
taxi o'hare Auburn ..Your business website tells a lot about your company. A... Read More
As of September, Smartads went through what so many have... Read More
The trend today to overuse animation in a website's opening... Read More
They say the eyes are the window to the soul.... Read More
A long, long time ago? In a galaxy far, far... Read More
I always have people asking me if I know of... Read More
1. Repackage your web site content in to different products... Read More
Easy navigation and usability are one of the most important... Read More
What dollar amount does your web site contribute to this... Read More
Designing a website is hard job, and requires you to... Read More
Home PageHome page should clearly indicate what the site is... Read More
Creating an appealing, functional, and effective Web site is much... Read More
Effective navigation stands out. It's clear, obvious, and highly visible.You'll... Read More
Contrary to the beliefs of some, advertising for web and... Read More
Read the title of this article over a couple of... Read More
There are often many mistakes encountered when creating a webpage... Read More
One visit does not make a sale. Be sure to... Read More
Unarguably, the most important part of your website is content.... Read More
Out there in the WWW there are thousands sites using... Read More
Your website is your tool for showing the online community... Read More
Any kid, and their grandmother too, can make a webpage.... Read More
Gone are the days when you had to rely on... Read More
If you're not getting a lot of traffic to your... Read More
As my occupation is that of a proofreader, one of... Read More
CSS or Cascading Style Sheets has opened up tremendous possibilities... Read More
Web Design |