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/
Drop Capitals are frequently used in many newspapers, books and... Read More
Unarguably, the most important part of your website is content.... Read More
Argh, where's the contact button?! Believe it or not, some... Read More
Seeing is believing.One trick to increase your visibility as well... Read More
Designing your own successful web page can seem difficult and... Read More
The landing page or entry page of your visitors is... Read More
There are literally thousands of different options, styles and formats... Read More
Know what you wantMake sure you know why you... Read More
Read the title of this article over a couple of... Read More
1. Lack of overall strategy and clear definition of success:Most... Read More
Have you heard of 'Babel Fish'?It's a service provided by... Read More
Effective navigation stands out. It's clear, obvious, and highly visible.You'll... Read More
Usability isn't only for Web design. It's also applicable in... Read More
Whenever singer John Mayer sings his romantic song, "Your Body... Read More
You have only 10 seconds to impress your potential buyer.... Read More
Don't make a splash!Are you thinking about using a splash... Read More
Conventional Wisdom states you should use Sub-Directories to organize your... Read More
For most people graphic design does not come easy. Unfortunately... Read More
The concept of web designing based on the nature and... Read More
A "template" is simply a design format which you can... Read More
In today's age of fast food and high-speed Internet, a... Read More
It seems more and more webmasters are using CSS for... Read More
Most websites use similar fonts and as a result have... Read More
Are you serious about get this website done fast and... Read More
You've come up with a great product. You've got the... Read More
recurring housekeeping Lake Forest ...The HTML editor is usually a webpage design software that... Read More
1. Lack of overall strategy and clear definition of success:Most... Read More
When you begin the design of your Web site, one... Read More
Your web site is the key to your success on... Read More
Think of the people who visit your site as blind... Read More
Content is undoubtedly the most important element of a website.... Read More
I want to give you a free web page template... Read More
If you're running a website or online business, your number... Read More
Have you seen Jesse James on the... Read More
Ever wonder how HTML color codes are put together? For... Read More
Do use a consistent look and feel Your site should... Read More
1. Use .gifs rather than .jpgs. GIFs are smaller in... Read More
CSS is a new option for website designers that have... Read More
Customers will form an opinion of your business as soon... Read More
Owning your own website is a must if you are... Read More
The Internet has seen an explosion in so called 'lance'... Read More
Colors are powerful, and create strong feelings. They can also... Read More
Developing a software application is not easy at all; apart... Read More
A web site builder can be a real life saver... Read More
Your home page is the most important page of your... Read More
When your web site sells more than a dozen items,... Read More
When considering whether or not to incorporate Flash into your... Read More
There are many ways to add fancy bells and whistles... Read More
Don't knock it; "Keep It Simple, Stupid" is a great... Read More
In this article I will give a few tips of... Read More
Web Design |