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/
Easy navigation and usability are one of the most important... Read More
The trend today to overuse animation in a website's opening... Read More
Every day internet marketers are inundated with the latest fad... Read More
We've all seen them. Poorly designed web sites that make... Read More
A search for "web design" on Google returns more than... Read More
Whether you're giving a critical sales presentation to a client,... Read More
I hate to imagine that in your web development project... Read More
Novice and professional graphic designers, we are aware that you... Read More
Many times I've seen a web site undergo a revision... Read More
We can't emphasize enough the importance of including keyword-rich content... Read More
You've made your website, added a great title and keywords... Read More
Hire a designer or a programmer for your website is... Read More
To create professional websites is not an easy task by... Read More
Do know your audienceIt's important to know your audience. If... Read More
Creating your own website can be fun and easy, as... Read More
First off, I am a designer. Now you're thinking, here's... Read More
You have probably viewed many Flash-based components while surfing the... Read More
What is web usability & why is it important?Web usability... Read More
If someone doesn't know you personally, will they trust you... Read More
When your company built its website, did you think about... Read More
You have only 10 seconds to impress your potential buyer.... Read More
I can't figure out people who have products or information... Read More
A highly effective website will always reflect its highly effective... Read More
You're all ready to get started creating your web presence... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
If you are designing a web site for which the... Read More
Not too long ago while looking for businesses that do... Read More
Why your site should be developed with CSS and semantic... Read More
"Oh, my eyes, my eyes! What an eye sore. Quick,... Read More
Nope. You certainly don't need a website.But you don't need... Read More
Does your website make a good first impression? Is the... Read More
There are plenty of Drupal Modules that you can install... Read More
Countdown to Armageddon - at least you'd think so judging... Read More
Your website design may be affecting your sales in ways... Read More
If there's one thing that I've learnt so far, it's... Read More
What are websites? Are they sales tools for vendors and... Read More
In my last article entitled, Maximizing The True Value Of... Read More
An ongoing challenge for webmasters today is to provide fresh... Read More
As of September, Smartads went through what so many have... Read More
Creating your own website is actually easy in today's world... Read More
Hire a designer or a programmer for your website is... Read More
Creating an appealing, functional, and effective Web site is much... Read More
Color is one of the most important but least understood... Read More
If you are going to have a web presence for... Read More
A client asked me, at what point do you change... Read More
When your company built its website, did you think about... Read More
If you've just finished building your new website (or revamping... Read More
In cascading style sheets you can specify how your web... Read More
Your web site should be-visitor friendly to navigatesearch engine friendly... Read More
Remember your vision for your company and the brand or... Read More
Customers will form an opinion of your business as soon... Read More
A "404 Error" happens when the web server you are... Read More
Audio can provide an added dimension to your site. It... Read More
You have probably viewed many Flash-based components while surfing the... Read More
About two years ago, I had a go at commercial... Read More
Designing your website means you have to be creative, plan... Read More
Before doing anything on the technical side, you need some... Read More
There are two important reasons to build your website from... Read More
What is the relationship between Marketing and Web designing? How... Read More
Studies done by Jakob Nielson the man touted as the,... Read More
The most important person that you need to please when... Read More
The time it takes to load your site can make... Read More
Imagine spinning someone around so profoundly and for so long... Read More
Mechanical spiders have to eat. In fact, they usually have... Read More
With so many new websites going up, it is hard... Read More
Home PageHome page should clearly indicate what the site is... Read More
Web Design |