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/
As search engine marketers, we spend an enormous amount of... Read More
There are plenty of Drupal Modules that you can install... Read More
It is a well-known fact that a successful business depends... Read More
Increasing the length of time a visitor is on your... Read More
Sooner or later every small or medium business owner realizes... Read More
Web sites that feature products ? especially furniture or other... Read More
I do site reviews. Needless to say, I see a... Read More
The way you design your web site affects your visitors'... Read More
Since I'm a web designer, I have a tendency to... Read More
A well designed web site is great to have, but... Read More
The "Wow" factor that accompanied the introduction of streaming media... Read More
Website Design Usability Tips1. Getting to know about audience membersYou... Read More
What do the key words represent?Key words - these are... Read More
New Web sites are springing up online by the millions.... Read More
1. Loading time:try to be below 20kbless number of imagesspecify... Read More
Designing your website can be a difficult task especially if... Read More
A Double Ad Tracker is an Ad-Tracker that points to... Read More
Do use a consistent look and feel Your site should... Read More
Why your site should be developed with CSS and semantic... Read More
Let's look at what your user wants to see at... Read More
I always have people asking me if I know of... Read More
I've written about META tags in the past, and I... Read More
I once created a notepad-like editor. It is possible with... Read More
The title tags of your web pages are more important... Read More
When I surf the Net, I often see web sites... Read More
home cleaning services Des Plaines ..There are two camps when it comes to flash web... Read More
So you want to build a website here I will... Read More
Color is everywhere and conveys a message even if we... Read More
Public domain gives you a head start creating ebooks, ecourses,... Read More
If someone doesn't know you personally, will they trust you... Read More
Website Design Usability Tips1. Getting to know about audience membersYou... Read More
Are you building your website? If so, STOP! Take a... Read More
What pages need to be included on your website? The... Read More
When designing elements for your webpage, you will often be... Read More
Favorite icon appears to the left of your link in... Read More
With an increasing number of employment portals emerging, it is... Read More
So your web site's online and you've got high rankings... Read More
The landing page or entry page of your visitors is... Read More
It has been said that the best online sales copy... Read More
If you are going to have a web presence for... Read More
The ability to create simple, attractive and functional web pages... Read More
Websites, there are literally billions of them out there in... Read More
We can't emphasize enough the importance of including keyword-rich content... Read More
If you are familiar with my work, then you have... Read More
I hate to imagine that in your web development project... Read More
Most websites use similar fonts and as a result have... Read More
Designing your website means you have to be creative, plan... Read More
Imagine spinning someone around so profoundly and for so long... Read More
In this article, I will attempt to cover the basics... Read More
Whether you're hiring a designer who has created 10 sites... Read More
Web Design |