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/
What do the key words represent?Key words - these are... Read More
You have only 10 seconds to impress your potential buyer.... Read More
You have probably viewed many Flash-based components while surfing the... Read More
QUESTION: We promote our web site in all our... Read More
The Questions You Should Be Asking ? The Answers You... Read More
They say the eyes are the window to the soul.... Read More
I hate to imagine that in your web development project... Read More
See, works every time. Seriously now, for some reason people... Read More
Even after you've managed to bring traffic to your site... Read More
Creating your own website can be fun and easy, as... Read More
We've all surfed the web and seen some awful web... Read More
We can't emphasize enough the importance of including keyword-rich content... Read More
There are literally thousands of different options, styles and formats... Read More
Marketing is not an easy skill to acquire.It requires patience... Read More
Making your site accessible means making it available to be... Read More
Internet Explorer, created by microsoft has been the most popular... Read More
Want to know what the worst thing to say on... Read More
You have only 10 seconds to impress your potential buyer.... Read More
The internet continues to grow and has become the default... Read More
Countdown to Armageddon - at least you'd think so judging... Read More
Ever browse across a website that took ten million years... Read More
Before I discovered the concept of Web site templates, I... Read More
Do your web pages, sales letters or personal presentations include... Read More
An attractive and user-friendly Web site is crucial to attracting... Read More
Have you ever been to site with so much ad... Read More
Western Springs shuttle limo ..Daily article:One of the most debated subject among webmasters is... Read More
Not too long ago while looking for businesses that do... Read More
No matter what product or service you're promoting, unless you... Read More
QUESTION: We promote our web site in all our... Read More
I have written before about long sales copy on the... Read More
Wether you design your business brochures, flyers, web page, or... Read More
~A man [woman] is a success if he [she] gets... Read More
Websites, there's literally billions of them out there in cyber-space.... Read More
Designing your website can be a difficult task especially if... Read More
Your website is your tool for showing the online community... Read More
Since I'm a web designer, I have a tendency to... Read More
If your website is falling through the cracks, the chances... Read More
(Making Your Graphics Work For You)It's no secret that a... Read More
If you've a website that is not generating a lot... Read More
We've all read the countless publications about effective web site... Read More
Due to the large number of people offering website design... Read More
I often wonder how serious people are when it comes... Read More
No, that's not the real question. The real question is... Read More
There are often many mistakes encountered when creating a webpage... Read More
When your web site sells more than a dozen items,... Read More
How many times have you clicked on a website only... Read More
Internet Explorer, created by microsoft has been the most popular... Read More
FIRST IMPRESSIONS. First impressions often leave lasting impressions. Impressions... Read More
About two years ago, I had a go at commercial... Read More
Hello, how is your website doing?Are sales flowing in?If you... Read More
Web Design |