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/
Have you ever been to site with so much ad... Read More
You can create a website that attracts customers, not repels... Read More
Every now and then, I receive a link exchange request... Read More
Making a successful online business can be a long and... Read More
Since you'll spend lots of time and money to create... Read More
Designing your website can be a difficult task especially if... Read More
As an online Entrepreneur you require a successful website.One that... Read More
I've seen articles (and websites) that suggest you can buy... Read More
Does your website need a re-design? Here are some questions... Read More
The time it takes to load your site can make... Read More
CSS or Cascading Style Sheets has opened up tremendous possibilities... Read More
If you are reading this, I assume you either have... Read More
One of the single most important aspects of effective navigation... Read More
Flash is a powerful technology that can help you create... Read More
An ongoing challenge for webmasters today is to provide fresh... Read More
It's a fact, Page Not Found, known as a 404... Read More
There are many different website design companies, offering different facilities... Read More
The first immutable law of effective navigation: It's gotta be... Read More
Everything you say and do says something about you. This... Read More
In this article you will find the parallel between two... Read More
No matter what product or service you're promoting, unless you... Read More
Even after you've managed to bring traffic to your site... Read More
ASP.NET is a new programming framework from Microsoft for developing... Read More
About two years ago, I had a go at commercial... Read More
Hire a designer or a programmer for your website is... Read More
whole house cleaning Highland Park ...There are several graphic software packages available to help you... Read More
Projecting a professional image is paramount to your website's success.... Read More
In this era of ultra-sophisticated internet marketing and web design,... Read More
"It's good.""You've done a nice job.""I don't like it."At some... Read More
Before you take a road trip it is usually a... Read More
Here's the single most important part of your website: YOUR... Read More
The internet continues to grow and has become the default... Read More
My mother used to take me along when she visited... Read More
1. Assemble a web site development plan that is integrated... Read More
Unless you are an inventor, most likely you are selling... Read More
If you own a web site or if you are... Read More
You've made your website, added a great title and keywords... Read More
For most people graphic design does not come easy. Unfortunately... Read More
Whether you are planning on having a website built for... Read More
Drop Capitals are frequently used in many newspapers, books and... Read More
We would all like to have the best looking website,... Read More
Are you building a direct sales or mlm business online?... Read More
Remember the day that you got your new computer (or... Read More
I am constantly bombarded with all sorts of advertisements, single-page... Read More
There are literally thousands of different options, styles and formats... Read More
In today's world, a web site is virtually mandatory for... Read More
The internet is full of web design companies pleading for... Read More
All websites have a homepage. It is the most important... Read More
10 Basic Things Your Website Should Have ...__ all short... Read More
There is a widespread confusion among lots of new website... Read More
Web Design |