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/
If you are reading this, I assume you either have... Read More
When considering whether or not to incorporate Flash into your... Read More
So you're on the computer, as usual. Your eyes are... Read More
Ever wonder how HTML color codes are put together? For... Read More
In learning webpage design, I encountered many problems that took... Read More
Public domain gives you a head start creating ebooks, ecourses,... Read More
This article gives free tips on how to find a... Read More
Let's face it. Building a web site that browses consistently... Read More
A highly effective website will always reflect its highly effective... Read More
If there's one thing that most web site developers can... Read More
In cascading style sheets you can specify how your web... Read More
About two years ago, I had a go at commercial... Read More
On the internet we don't deal with face to face... Read More
There is unlimited possibilities when it comes to designing a... Read More
Whether you are planning on having a website built for... Read More
When you start building your online business and search for... Read More
Web advertising has taken many forms, including those that appear... Read More
When you begin the design of your Web site, one... Read More
Know what you wantMake sure you know why you... Read More
There's no doubt about it - the first page your... Read More
Let's face it. Buying products and services from the Internet... Read More
Web Design is a very subjective process. Your idea of... Read More
One of the single most important aspects of effective navigation... Read More
I am constantly bombarded with all sorts of advertisements, single-page... Read More
In this article you will find the parallel between two... Read More
licensed cleaning services Park Ridge ..Your web site is the key to your success on... Read More
The most important person that you need to please when... Read More
If you've a website that is not generating a lot... Read More
Let's face it; the line from A Field of Dreams... Read More
Are you in a dilemma whether to create a mini... Read More
First you need original content. Content is the heart beat... Read More
When you design a website how do you start ?Do... Read More
One visit does not make a sale. Be sure to... Read More
If you are one of those who wonder how people... Read More
If you have a business, big or small you may... Read More
Why is the quality of your text layout and design... Read More
Whether you're hiring a designer who has created 10 sites... Read More
I've written about META tags in the past, and I... Read More
In today's age of fast food and high-speed Internet, a... Read More
There is nothing wrong with making your own website if... Read More
Imagine you're going on a blind date. You've heard wonderful... Read More
Many times I've seen a web site undergo a revision... Read More
What the heck is going on lately? Most internet websites... Read More
With an increasing number of employment portals emerging, it is... Read More
Creating your own website can be fun and easy, as... Read More
The importance of choosing your website keywords carefully is very... Read More
Avoid these mistakes and your site will be steps ahead... Read More
So you've decided to take the plunge. You know that... Read More
You just created a new web site but want to... Read More
Every action has a beginning phase where you launch your... Read More
Web Design |