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/
Questions to ask when designing a Web Site for your... Read More
Many times I've seen a web site undergo a revision... Read More
1. Repackage your web site content in to different products... Read More
Let's face it; the line from A Field of Dreams... Read More
Colors have long been known to have psychological affects on... Read More
Do you have a website? If so, you need an... Read More
With so many different configurations internet users have their computers... Read More
Every now and then, I receive a link exchange request... Read More
An "include" file is a piece of code that can... Read More
This is a very perfunctory look at the website code... Read More
1. Loading time:try to be below 20kbless number of imagesspecify... Read More
The Questions You Should Be Asking ? The Answers You... Read More
Graphics are fun, but if you put in too many... Read More
Wether you design your business brochures, flyers, web page, or... Read More
It's a fact, Page Not Found, known as a 404... Read More
Web advertising has taken many forms, including those that appear... Read More
A search for "web design" on Google returns more than... Read More
I get the occasional web design lead from my website.... Read More
We've all seen them. Poorly designed web sites that make... Read More
An application is not ready for use unless you have... Read More
A few years ago a lot of websites utilized frame... Read More
Are you building a direct sales or mlm business online?... Read More
Designing your website can be a difficult task especially if... Read More
So you're on the computer, as usual. Your eyes are... Read More
In cascading style sheets you can specify how your web... Read More
Antigo wedding limo ..Owning your own website is a must if you are... Read More
It's been said again and again, when it comes to... Read More
The Basics You have a flourishing business ? everything is... Read More
So your web site's online and you've got high rankings... Read More
In today's world, a web site is virtually mandatory for... Read More
Graphics are fun, but if you put in too many... Read More
Your web site is the key to your success on... Read More
The "Wow" factor that accompanied the introduction of streaming media... Read More
Probably you know someone who has created a web site... Read More
The following list of websites is the best compilation of... Read More
A client asked me, at what point do you change... Read More
Last Thursday afternoon I was working on a garage door... Read More
Have you ever walked pass a shop that, for some... Read More
Designing your website means you have to be creative, plan... Read More
Many Internet sites that try to sell you something have... Read More
Making your site accessible means making it available to be... Read More
Your web site should be-visitor friendly to navigatesearch engine friendly... Read More
You're almost set. The content of your website, e-book, or... Read More
Any design on a web application involves the effective input... Read More
I am constantly bombarded with all sorts of advertisements, single-page... Read More
Since I made the switch 6 months ago to a... Read More
Making a poorly designed website is one of the easiest... Read More
The first immutable law of effective navigation: It's gotta be... Read More
If someone doesn't know you personally, will they trust you... Read More
You know that I'm always extolling the virtues of an... Read More
Web Design |