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/
If you're running a website or online business, your number... Read More
Conventional Wisdom states you should use Sub-Directories to organize your... Read More
Designing your website means you have to be creative, plan... Read More
Easy navigation and usability are one of the most important... Read More
You spend time and money promoting your website; but what... Read More
Want to know what the worst thing to say on... Read More
The icons in an application are the soul of the... Read More
Gone are the days when you had to rely on... Read More
This article may come as a surprise to you.Especially since... Read More
This article gives free tips on how to find a... Read More
The problem with designing your site as a graphic, is... Read More
Your website is your tool for showing the online community... Read More
A website should firstly be searched out by visitors before... Read More
Hire a designer or a programmer for your website is... Read More
The internet is filled with sites and they are good... Read More
Automating your online business is one of the most important... Read More
There can be zillions of reasons why your visitors return... Read More
This is my second article on maximising web site viewability.... Read More
I want to give you a free web page template... Read More
We've all seen and read product testimonials. They're a very... Read More
Website Design Usability Tips1. Getting to know about audience membersYou... Read More
If you are anything like me, your website is a... Read More
There are often many mistakes encountered when creating a webpage... Read More
Now that you have decided that it is time to... Read More
Don't just put your slogan in the title tag when... Read More
So your web site's online and you've got high rankings... Read More
I get the occasional web design lead from my website.... Read More
If you are trying to sell a product or service... Read More
To create professional websites is not an easy task by... Read More
A picture is worth a thousand words.And it still is... Read More
Favorite icon appears to the left of your link in... Read More
Studies done by Jakob Nielson the man touted as the,... Read More
Any kid, and their grandmother too, can make a webpage.... Read More
Reading on the web is different than reading in all... Read More
Do you know why the majority of people use the... Read More
Everything you say and do says something about you. This... Read More
Have you ever thought about the real stories behind all... Read More
Choosing a web designer can seem like a daunting task.... Read More
There can be zillions of reasons why your visitors return... Read More
Now that you have decided that it is time to... Read More
The Psychology of ColorAre you using the best colors for... Read More
As part of your event planning you should seriously consider... Read More
It's been said again and again, when it comes to... Read More
I've seen articles (and websites) that suggest you can buy... Read More
So you've decided to take the plunge. You know that... Read More
Graphics are fun, but if you put in too many... Read More
Last Thursday afternoon I was working on a garage door... Read More
Every day internet marketers are inundated with the latest fad... Read More
Regardless whether you manage a small business, charitable organization, or... Read More
As of September, Smartads went through what so many have... Read More
As the Internet blooms at an alarming rate, so as... Read More
Many people hire professional web site designers for as much... Read More
What are websites? Are they sales tools for vendors and... Read More
Marketing is not an easy skill to acquire.It requires patience... Read More
Whenever singer John Mayer sings his romantic song, "Your Body... Read More
The first step to starting any Internet business is conducting... Read More
Websites, there's literally billions of them out there in cyber-space.... Read More
Easy navigation and usability are one of the most important... Read More
Even if you're not an accomplished webmaster you can still... Read More
For online businesses with their main goal of selling products,... Read More
If you are familiar with my work, then you have... Read More
CSS or Cascading Style Sheets has opened up tremendous possibilities... Read More
Whether you're hiring a designer who has created 10 sites... Read More
No question about it, web design is an art. Finding... Read More
When you start building your online business and search for... Read More
Don't mess with those links! When you're designing your site,... Read More
Web Design |