Internet
How to
Newspapers
Twitter
SEO advice
Categories: Bad reviews, How to, Internet. Tags: , , , ,

The importance of a 404 status code on your 404 page

July 23, 2009 6 Comments

The ABCe site shows the importance of a proper 404 status code, as this search for abce demonstrates. The explanation of how they can avoid this is below.

The problem - the third result

ABCe: not found

ABCe: not found

The solution

The usual thing to do with known links that no longer work is to 301 redirect them to a different page (EG when you know a URL has moved). For all other URLs that don't work (EG when someone mistypes one), you return a 404 code.

These status codes help Google, for instance, work out what is going on. If it sees a 404 code it knows there's nothing there so it needn't return the page in search results.

I've written before about the awful abce site and the terrible abce redesign. It appears when they did the latest redesign, they decided to 301 redirect any broken links to this page: http://www.abce.co.uk/404.aspx.

However, that page, even though it it called 404.aspx and has a 'page not found' title, returns a 200 code - telling Google that it is a genuine URL.

The end result is that all links to old ABCe URLs are redirected to the new 404.aspx page. The 301 tells Google to count links to the old pages as if they belonged to the new 404.aspx page. Because this is a lot of links and a lot of pages, Google has ended up thinking the 404.aspx is the most important page on the abce site.

All of which means that if you type abce into google, you get the identical abc site first, and then you get the 404 page (with a 200 code) for the abce site. Obviously, this looks completely stupid.

You might also like
  1. ABCe: please sort out your terrible website (again)
  2. Has Google redesigned the header of its results page (for the worse)?
  3. Proof and implications of javascript passing anchor text and page rank in Google
  4. Delia Smith relaunch gets worse …
  5. SEO revenge: analytics style

Share this post

Follow me on Facebook or Twitter

6 Comments »

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.