Stephan Spencer's Scatterings

The Scattered Wisdom of a scientist turned web marketing virtuoso

July 2009
S M T W T F S
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Return a 404 When You're Supposed To, Or Get Dinged by Google

A friend's website's Google rankings have tanked after their redesign. And I think I know why. Have a look at the status codes their web server returns when you request a garbage URL (a page that couldn't possibly exist)...

#lwp-request -S www.randomcompany.com/dafsadf
GET http://www.randomcompany.com/dafsadf --> 301 Moved Permanently
GET http://www.randomcompany.com/search?q=dafsadf%20 --> 200 OK

A 301 followed by a 200. Oh noooes!

That REALLY should be a 404 status code instead.

Make sure that garbage URLs like www.yourcompany.com/aadsfadsfdafs return a 404 status code. Googlebot is known to request garbage URLs and to see if you respond with a 404 like you're supposed to. If you don't, your quality score goes down the tubes.

Posted by Stephan Spencer on 08/22/2008 | Permalink

Comments (3)| Comments RSS | Filed under: Search Engines            

3 comments

  1. Genius!

    Damn, you're good!

    Stephan=GoodChat

    Chat Man

    Comment by SEO Chatter [Visitor] Email — 08/22/08 @ 22:10


  2. I have been wondering about this. Now, I know. WordPress takes care of 404s. However, my other non-WordPress sites need to be updated ASAP.

    Comment by Robert [Visitor] · http://www.rl-digital.com/ — 08/24/08 @ 12:10


  3. Don't you think that this issue is more related to Google's request to hide search pages from Google-bot?

    Comment by Shimon [Visitor] Email · http://www.chossonandkallah.com — 08/25/08 @ 09:46


Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)