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/
Creating your web site can be a tricky process. Choosing... Read More
You're almost set. The content of your website, e-book, or... Read More
If there's one thing that most web site developers can... Read More
The Internet has seen an explosion in so called 'lance'... Read More
What dollar amount does your web site contribute to this... Read More
When creating an e-cover the what's the first thought that... Read More
1. Repackage your web site content in to different products... Read More
Effective navigation stands out. It's clear, obvious, and highly visible.You'll... Read More
You have probably viewed many Flash-based components while surfing the... Read More
You just created a new web site but want to... Read More
If your are a new web designer, you may face... Read More
They may look cutting edge, but if you want a... Read More
Here's a really simple way... any novice can create a... Read More
Making a poorly designed website is one of the easiest... Read More
Some wise human once said "Learn from the mistakes of... Read More
In today's world, a web site is virtually mandatory for... Read More
Do use a consistent look and feel Your site should... Read More
Novice and professional designers alike ? you may probably be... Read More
Creating your own website is actually easy in today's world... Read More
With an increasing number of employment portals emerging, it is... Read More
One of the most frequent questions I get asked about... Read More
You know that I'm always extolling the virtues of an... Read More
There are two camps when it comes to flash web... Read More
Sin #5Poor Spelling And GrammarWe all make mistakes when we... Read More
If you are designing a web site for which the... Read More
Fox River Grove limo rentals ..You may not believe it, but people still judge things... Read More
On the internet we don't deal with face to face... Read More
Let's face it. Building a web site that browses consistently... Read More
By following feng shui guidelines and techniques, you can build... Read More
Your web site is like your car. Both are significant... Read More
I've seen articles (and websites) that suggest you can buy... Read More
I've written about META tags in the past, and I... Read More
In this article I will give advice and tips of... Read More
So how do you know when your graphic designer costs... Read More
What is a Website Template?Many smart and savvy businesses are... Read More
QUESTION: We promote our web site in all our... Read More
Have you put a lot of effort, time, and money... Read More
If you've a website but not making a lot of... Read More
Color is everywhere and conveys a message even if we... Read More
Many people hire professional web site designers for as much... Read More
Does website design make a difference in how long people... Read More
Your business website tells a lot about your company. A... Read More
CNN.com's designers have gone out of their way to make... Read More
There's no doubt about it - the first page your... Read More
Let me repeat that.."The technology may change, but human nature... Read More
As a webmaster you already know how important it is... Read More
Public domain gives you a head start creating ebooks, ecourses,... Read More
Imagine spinning someone around so profoundly and for so long... Read More
Regardless whether you manage a small business, charitable organization, or... Read More
Are you serious about get this website done fast and... Read More
Web Design |