Meta tags to block the robots!

Discussion in 'HTML & Website Design' started by kripton, Mar 26, 2009.

  1. #1
    Hi,

    I was lately punished by google for 2 pages on my site with duplicate content. I want to prevent google to index one of them, and solve the problem this way.

    Is this combination a good way to block google robots from indexing my pages?
    <meta name="googlebot" content="noarchive,noindex,nofollow,nosnippet" />
    <meta name="robots" content="noarchive,noindex,nofollow" />

    Thanks for your advise!
     
    kripton, Mar 26, 2009 IP
  2. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Use robots.txt

    User-agent: *
    Disallow: /page.html
     
    ExtremeData, Mar 26, 2009 IP