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 have a business, big or small you may... Read More
One of the most popular methods of traffic generation is... Read More
Want to know what the worst thing to say on... Read More
Probably you know someone who has created a web site... Read More
When you develop a sales brochure, you have a mental... Read More
Let's look at what your user wants to see at... Read More
You have created your custom error page so now all... Read More
Since you'll spend lots of time and money to create... Read More
The first immutable law of effective navigation: It's gotta be... Read More
What is the relationship between Marketing and Web designing? How... Read More
Easy That's how you'd like life to be, right? Especially... Read More
If one more business owner tells me their website sucks... Read More
So, what's in a website design anyway? And, how do... Read More
When you design a website how do you start ?Do... Read More
These days, it seems that everyone has a website. Unfortunately,... Read More
CSS is a new option for website designers that have... Read More
There is no doubt that reprint articles can serve lots... Read More
There are plenty of Drupal Modules that you can install... Read More
Content is the most important part of any website.The Internet... Read More
You can create a website that attracts customers, not repels... Read More
In this article I will give a few tips of... Read More
"How to turn "slightly interested" customers into "I've got to... Read More
If you have a business, big or small you may... Read More
1. Loading time:try to be below 20kbless number of imagesspecify... Read More
Copyright 2005 Robert EvansSetting yourself up to earn a steady... Read More
1. Don't load your web site with a lot of... Read More
You've likely heard of the movie, Jerry Maguire, with its... Read More
Mechanical spiders have to eat. In fact, they usually have... Read More
I always have people asking me if I know of... Read More
In this article we will be looking at why you... Read More
Cascading Style Sheets (CSS) allows you to create fast loading... Read More
Questions to ask when designing a Web Site for your... Read More
Imagine you're going on a blind date. You've heard wonderful... Read More
As my occupation is that of a proofreader, one of... Read More
Websites that have multiple pages usually have a Frequently Asked... Read More
Graphics are fun, but if you put in too many... Read More
Almost everything is available on the web? products, services, e-books,... Read More
Once, I attempted to create a favicon (the little graphic... Read More
For most people graphic design does not come easy. Unfortunately... Read More
Let's face it. Buying products and services from the Internet... Read More
I have written before about long sales copy on the... Read More
You know... Before purchasing your product a person comes to... Read More
Before I discovered the concept of Web site templates, I... Read More
What Will My Site Do?This is the first of eight... Read More
My site is working fine. The links work. Content is... Read More
If you've a website that is not generating a lot... Read More
Everything you say and do says something about you. This... Read More
When you're self-employed, choosing a website designer is a crucial... Read More
Daily article:One of the most debated subject among webmasters is... Read More
A website should firstly be searched out by visitors before... Read More
We've all surfed the web and seen some awful web... Read More
In cascading style sheets you can specify how your web... Read More
The first immutable law of effective navigation: It's gotta be... Read More
With an increasing number of employment portals emerging, it is... Read More
To create professional websites is not an easy task by... Read More
I always have people asking me if I know of... Read More
Since I made the switch 6 months ago to a... Read More
This article gives free tips on how to find a... Read More
**How Colors are Used in web design:**Demarcates screen elements into... Read More
The top ten fonts for website design might change in... Read More
The solution lies in creating a 'Database driven website', through... Read More
Imagine you're going on a blind date. You've heard wonderful... Read More
CNN.com's designers have gone out of their way to make... Read More
In today's age of fast food and high-speed Internet, a... Read More
By following feng shui guidelines and techniques, you can build... Read More
When you start building your online business and search for... Read More
Web Design |