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/
Imagine spinning someone around so profoundly and for so long... Read More
Most of us at times need advice on different aspects... Read More
Developing a software application is not easy at all; apart... Read More
When a prospect lands on your website will he or... Read More
You just created a new web site but want to... Read More
This is the second part of a two-part article about... Read More
How many times have you clicked on a website only... Read More
QUESTION: We promote our web site in all our... Read More
A few years ago a lot of websites utilized frame... Read More
Here's a really simple way... any novice can create a... Read More
You spend time and money promoting your website; but what... Read More
Not all links are created equal.While all of your links... Read More
Since I made the switch 6 months ago to a... Read More
Are you in a dilemma whether to create a mini... Read More
Web design is a very competitive area and there is... Read More
Where does a person start when setting up a website?... Read More
The ability to create simple, attractive and functional web pages... Read More
When your web site sells more than a dozen items,... Read More
What is the relationship between Marketing and Web designing? How... Read More
So, what's in a website design anyway? And, how do... Read More
In today's world, a web site is virtually mandatory for... Read More
If you've a website but not making a lot of... Read More
Remember your vision for your company and the brand or... Read More
Content is the most important part of any website.The Internet... Read More
When designing your website, remember to avoid useless and confusing... Read More
O'Hare Chicago prom limo ..Your website is your tool for showing the online community... Read More
This is the second part of a two-part article about... Read More
First off, I am a designer. Now you're thinking, here's... Read More
You know... Before purchasing your product a person comes to... Read More
Selling on the internet is a challenge. There is no... Read More
Easy That's how you'd like life to be, right? Especially... Read More
Should Generating Revenue From A Website Be The Prime Motivator?... Read More
Effective navigation stands out. It's clear, obvious, and highly visible.You'll... Read More
7. Create high quality content - make clear points with... Read More
Most web designers and web design companies will try to... Read More
A professionally presented business website is a powerful and essential... Read More
Let's face it. Building a web site that browses consistently... Read More
The icons in an application are the soul of the... Read More
Web site design has certainly, in the past decade, evolved... Read More
Your web site is like your car. Both are significant... Read More
Color is one of the most important but least understood... Read More
Some wise human once said "Learn from the mistakes of... Read More
Getting traffic to your website is not the only factor... Read More
**How Colors are Used in web design:**Demarcates screen elements into... Read More
There are several very good reasons why you should consider... Read More
Whether you're hiring a designer who has created 10 sites... Read More
Your web site should always adhere to standards!A professional web... Read More
The solution lies in creating a 'Database driven website', through... Read More
Probably you know someone who has created a web site... Read More
We will take a look at why your visitors may... Read More
Web Design |