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/
CNN.com's designers have gone out of their way to make... Read More
In the early years of the internet the actual design... Read More
I am constantly bombarded with all sorts of advertisements, single-page... Read More
Are you building a direct sales or mlm business online?... Read More
Let's look at what your user wants to see at... Read More
Know what you wantMake sure you know why you... Read More
Here is a quick list of components that make a... Read More
It seems that almost every Tom Dick and Harry do... Read More
Are you serious about get this website done fast and... Read More
See, works every time. Seriously now, for some reason people... Read More
If you have a website, you want your visitors to... Read More
One of the biggest problems with Web sites is that... Read More
Color is one of the most important but least understood... Read More
Whether you're giving a critical sales presentation to a client,... Read More
To create professional websites is not an easy task by... Read More
Many Internet sites that try to sell you something have... Read More
Out there in the WWW there are thousands sites using... Read More
The best things don't come easy. - QuotedThe finished web... Read More
You have only 10 seconds to impress your potential buyer.... Read More
What is web usability & why is it important?Web usability... Read More
Have you ever walked pass a shop that, for some... Read More
One of the most popular methods of traffic generation is... Read More
Remember the day that you got your new computer (or... Read More
Everything you say and do says something about you. This... Read More
QUESTION: We promote our web site in all our... Read More
Beason Mercedes Benz s500 rentals ..(Making Your Graphics Work For You)It's no secret that a... Read More
Many Internet sites that try to sell you something have... Read More
Hire a designer or a programmer for your website is... Read More
The concept of web designing based on the nature and... Read More
As a webmaster, you want to keep your visitors content... Read More
In today's age of fast food and high-speed Internet, a... Read More
STEP 1:Do your homeworkPlan and think about your content. Think... Read More
This is my second article on maximising web site viewability.... Read More
They say the eyes are the window to the soul.... Read More
Designing your website means you have to be creative, plan... Read More
If you've just finished building your new website (or revamping... Read More
Mechanical spiders have to eat. In fact, they usually have... Read More
10 Basic Things Your Website Should Have ...__ all short... Read More
Your web site is like your car. Both are significant... Read More
We've all read the countless publications about effective web site... Read More
One of the most popular methods of traffic generation is... Read More
How many times have you clicked on a website only... Read More
Are you serious about get this website done fast and... Read More
Drop Capitals are frequently used in many newspapers, books and... Read More
Well, you've got your product, started your home business, and... Read More
If you are going to be placing ads on your... Read More
It starts off simply; a few HTML pages, a few... Read More
Here are a few programs I can't do without. They're... Read More
Getting a customer is not easy.Getting a visitor to decide... Read More
There are often many mistakes encountered when creating a webpage... Read More
Web Design |