404 Errors - And 5 Ways to Avoid Them

Picture this: you want to go shopping so you look for a store in the yellow pages and find the address. Once you get to where the store is supposed to be located you discover it’s not there anymore. When that happens on the Internet it’s called a 404. Considering all the time and effort that you’ve put into finding this store, I imagine you’d be pretty upset. I most certainly would. Would you try to find out where the store had moved to? Probably not.

That’s exactly what happens when a page on your Website comes up as a 404. The potential customer who clicked the inbound link will simply go to another site with a little click of the mouse.

What Causes a 404?

For those of you who don’t know what a 404 is, it’s an error that’s displayed when a user requests a Web page that’s no longer available on the server. This often happens when sites change layout and or page information — but 404s are by no means unavoidable! In fact, I think it’s a safe bet to say that this would never happen if Webmasters and site owners always double-checked their work. Unfortunately, however, too many sites seem to slip through the net.

Then, a potential customer performs a keyword search for something that has to do with that business, and the results list includes a page from the site that’s recently been taken down — the page no longer exists. But, as the search engine hasn’t sent another spider to the site since the page was removed, it thinks the page is still available, and serves the link in the search results.

Guess what happens when the user clicks on the link? They’re taken to a 404 page. Online, this is like saying "Hey thanks for trying but we don’t want you here." Accordingly, the user will usually just go back to the search engine and click on the listing of one of your competitors. And just like that you’ve lost a potential customer.

A True Story

404 errors caused a real problem for a client of mine who run an online stock site that provides users with insights and tips into the world of trading.

They were very new to the whole search engine optimization arena and wanted to get more traffic to their site. After doing some research at a few search engines I was amazed at what I found: they had some good rankings but the pages that were listed were no longer available on their site. There were 404s everywhere.

Once I realized what was happening I could help solve the problem. The client had no idea that each time people were clicking on their search engine listing they were getting the "404 page not found" error message. They now understood that these people wanted to visit the site, but because of the company’s lack of attention to detail, these potential clients would simply go to a competitor’s site with the click of the mouse. I could only guess how many visitors were lost due to these missing pages.

Avoid the 404!

So what was the solution for my client? It was simple:

1. Redirect on-site

I showed them how, instead of ever taking a page down, they should redirect the page to a main page of their site (or a page that displays a message saying "Sorry but this page is no longer updated. Please visit our homepage or contact us for more information").

2. Redirect from the host

Another option is to check with your hosting company to see if they offer a 404 redirect. Then, when a user enters the URL of any page off your domain (i.e.-www.yourcompany.com/nopage) that doesn’t exist, they are automatically taken to a specified page, such as your index or home page. It’s the easiest way to ensure that a potential customer is never lost due to a page not being found.

3. Submit new pages to the search engines

Another good idea is to resubmit new pages to search engines for reindexing. Although it’s nice to inform visitors that a page they’re looking for no longer exists, it’s even better to have the new page with all the information the visitor wants appear when they perform a search.

4. Keep an eye on your page listings

Do yourself a favour and check regularly to make sure your site listings aren’t taking potential clients to 404 pages. Go to a search engine like www.altavista.com and type www.yoursiteURL.com in the search bar.

If the search results index a page that no longer appears on your server:

  • go to the search engine’s submissions page and submit the new URL for the page that covers the information of the old page, and
  • make note of the name of the page that’s no longer available, and then rename one of your existing pages with this old title.

This way you can ensure that people who search for information on your site will be taken to the correct page until the new page is indexed — and ensure you don’t lose potential sales because of missing pages.

5. Get organised with updates

Keep notes: maintaining a Website is a big job, so don’t rely solely on your memory. Keep a notebook or digital log full of your site changes to help refresh your memory and ensure you follow up changes with the search engines.

Throw Open Your Virtual Doors!

In the 3 months after we corrected the 404s on the client site, we saw a dramatic rise in unique visitors. Although the company implemented other Web marketing tactics, I’m positive that correcting the 404s had a lot to do with the traffic increase. The moral of the story: don’t close a door to your site: you never know who might come knocking.


Category: google Time: 2002-05-01 Views: 1

Related post

  • What are the possible ways a Debian Linux system may write data to HDD and how to avoid them? 2012-12-15

    The background: Here I have a spare x86 board which has a low energe costing AMD CPU built on it. I am planning to DIY a home use file server with it running a Debian base system and some common service programs such as ftp/telnet/svn/samba... etc. T

  • PHP Parse/Syntax Errors; and How to solve them? 2013-08-05

    Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers it's just part of the learning process. However, it's often easy to interpret error messages such as: PHP Parse error: syntax error, unexpected '{' in index.php

  • Section titles, hyphenation, manual line breaks - and how to avoid them 2011-09-30

    I have several section titles in my document that are getting hyphenated, which is quite ugly. I am now looking for some way to avoid the hyphenation, which is is somewhat related to this question, but unfortunately my titles have to be centered (so

  • Ubuntu apt-get update 404 error and not able to install openssh-serer 2011-12-31

    Recently I have installed an older version of Ubuntu on my old machine. When ever I am trying to install any software it is giving error sudo -i apt-get install vlc The error being flagged is under below. Reading package lists... Done Building depend

  • Multisite 404 errors and non-www redirecting to home page 2015-03-17

    My primary website on a multisite network was created with the www prefix (like www.example.com). If I try to access pages without the www prefix (like example.com/page-name/ instead of www.example.com/page-name/, I am redirected to the homepage (www

  • 7 Great Rip-offs - and How to Avoid Them! 2009-11-20

    Almost all web developers find themselves chasing payments from certain clients in any given year. Some circumstances I've endured more often than others. In this article, I've identified seven of the most common ways web professionals fall into the

  • 5 Responsive Design Pitfalls and How to Avoid Them 2015-09-11

    Picture this. You've just created a responsive masterpiece, and then you check it out on a mobile device. Things break in ways you never would have expected. Text is going haywire, animations are choppy, and your forms don't look anything like how yo

  • Different sources of noise and ways to avoid/correct those 2011-05-10

    What kinds of effects are present in digital images that are referred to as "noise"? What are the different sources of noise? What causes each type of noise? What are the characteristics of the different types of noise? How do the different type

  • Trail slash is causing 404 error and improper url behavior: APACHE/ PHP 2016-07-25

    Hoping one of you can help. I am developing using php, without a framework, therefore all of my routing rules are in .htaccess as opposed to .php So here is my problem. Say my website is http://example.com and my navigation is pretty straight forward

  • Reference to understand LED data sheet specification, characteristic and way to use them 2014-03-24

    I'm trying to build my own IR-led light with multiple LEDs. I've bought a TSAL6100 IR led but I'm not sure how to interpret the data sheet, I can't find any reference in internet. Can anybody tell me where I can find the informations or interpret the

  • SSH and Port Forwarding - what are the possible attacks and how to avoid them? 2016-03-06

    What are possible attacks when using SSH and Local or Remote Port Forwarding? What are the threats? I understand that there are many, but what are they? And also, how could they be avoided?

  • Using a rented VPS as an Openvpn server for friends: legal risks and how to avoid them? 2016-06-09

    Disclaimer: I have done some research on the legal implications of an Openvpn server hosted on a VPS, but have come back from these quite empty-handed. Context: We are a bunch of friends in engineering, and all live on the same campus. The Internet c

  • Benefit of custom 404 error screens on website 2014-02-19

    Are there any UX studies on whether custom 404's and the like benefit or enrich the experience of the end user? Some good examples below, I was thinking the wording might be more relevant in this case than the 'cutesy' oops time message some of these

  • Are penalties applied if you have too many 404 errors on your site? 2013-08-07

    Do the search engines take the number of 404 errors returned by a site into account when calculating the site rank? For example I have 8,000 404 errors and I am thinking that that's affecting my SEO in a negative way. However, I read this Google Webm

  • Wordpress Custom Post Type Repeated 404 Errors 2010-09-24

    I've got a WordPress CPT that I've had running for a couple weeks. There weren't any problems with it. In the last couple days, it's been going haywire. Every few minutes, WordPress forgets that the page exists and returns a 404 error. This can be fi

  • NGINX returning 404 error on a valid url 2010-12-17

    We have a site that runs PHP-FPM and NGINX. The application sends invitations to site members that are keyed with 40 character random strings (alphanumerics only -- example below). Today for the first time we ran into an issue with this approach. The

  • Category links suddenly started giving 404 errors 2010-12-23

    My Wordpress blog suddenly seems to have started giving me 404 errors when accessing category pages. For example, http://blog.rtwilson.com/category/tok-related/. Interestingly, this doesn't happen for child categories (such as GIS and Remote Sensing,

  • How should compilers report errors and warnings? 2011-01-25

    I don't plan on writing a compiler in the near future; still, I'm quite interested with compiler technologies, and how this stuff could be made better. Starting with compiled languages, most compilers have two error levels: warnings and errors, the f

  • Call to require('../../../wp-blog-header.php') results in 404 error? 2011-05-27

    I've got a button in theme options that calls a file called color.php, (the contents of which are below). On certain installations of the theme, the script is generating a 404 error and failing unless I take out everything above the //do something li

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 2.748 (s). 13 q(s)