dont get your page listed in google but let the mediabot in

Discussion in 'robots.txt' started by stephaneggy, Mar 24, 2005.

  1. #1
    Hello!

    i have a few pages that I don't want to have listed in google, but I want the mediabot to drop by because there are adsense ads on the page.

    How will I do this with a robots file?
     
    stephaneggy, Mar 24, 2005 IP
  2. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To tell Google not to spider the files mypage1.html, you would write

    User-Agent: Googlebot Disallow: /mypage1.html if im not mistaking.
     
    crazyhorse, Mar 24, 2005 IP
  3. riziko

    riziko Peon

    Messages:
    189
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well since the Adsense bot and googlebot are different you can just disallow googlebot from your folder. So something like...

    User-agent: GoogleBot
    Disallow: /mystash/
    Code (markup):
    ...should work.

    Ross
     
    riziko, Mar 24, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    digitalpoint, Mar 24, 2005 IP