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/
An "include" file is a piece of code that can... Read More
Let's look at what your user wants to see at... Read More
Web Design is a very subjective process. Your idea of... Read More
Want to see an excellently constructed website? As a writer... Read More
All websites have a homepage. It is the most important... Read More
A website should firstly be searched out by visitors before... Read More
A well designed web site is great to have, but... Read More
(Making Your Graphics Work For You)It's no secret that a... Read More
It seems that almost every Tom Dick and Harry do... Read More
CNN.com's designers have gone out of their way to make... Read More
Even after you've managed to bring traffic to your site... Read More
The "Wow" factor that accompanied the introduction of streaming media... Read More
If you have a web site to which people pay... Read More
The icons in an application are the soul of the... Read More
Do your web pages, sales letters or personal presentations include... Read More
As a webmaster, you want to keep your visitors content... Read More
If you've a website but not making a lot of... Read More
How many of the visitors to your web site take... Read More
When it comes to marketing your website, you should really... Read More
Many web site designers don't design their sites for the... Read More
Easy navigation and usability are one of the most important... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
When I purchase something from a web site I first... Read More
Argh, where's the contact button?! Believe it or not, some... Read More
When you start building your online business and search for... Read More
premium house cleaning Glenview ..Web sites that feature products ? especially furniture or other... Read More
It has been said that the best online sales copy... Read More
There are six important characteristics that can play a major... Read More
It seems that almost every Tom Dick and Harry do... Read More
Clutter: Too much noise, too much text, and too little... Read More
Before doing anything on the technical side, you need some... Read More
When I purchase something from a web site I first... Read More
Whether you are planning on having a website built for... Read More
Websites, there's literally billions of them out there in cyber-space.... Read More
The solution lies in creating a 'Database driven website', through... Read More
Every action has a beginning phase where you launch your... Read More
1. Loading time:try to be below 20kbless number of imagesspecify... Read More
Web Design is a very subjective process. Your idea of... Read More
To create your own great banner, you only need five... Read More
This is a two-part article about creating a web site... Read More
There are more than billions of Web Sites, running Online... Read More
There is unlimited possibilities when it comes to designing a... Read More
Getting a customer is not easy.Getting a visitor to decide... Read More
I see a lot of mistakes, but here are the... Read More
Customers will form an opinion of your business as soon... Read More
Over the years, the internet has grown into a marvelous... Read More
If you've a website but not making a lot of... Read More
Getting traffic to your website is not the only factor... Read More
You're all ready to get started creating your web presence... Read More
Here's the single most important part of your website: YOUR... Read More
Web Design |