Robots.txt correct?

Discussion in 'robots.txt' started by Jayess, Jan 1, 2005.

  1. #1
    Is this correct?

    User-agent: scooter
    Disallow: /
    User-agent: lycos
    Disallow: /
    User-agent: slurp
    Disallow: /
    User-agent: googlebot
    Disallow: /contact.htm
    Disallow: /terms.htm
    Disallow: /print.php

    This is what I WANT it to do:

    User-agent: scooter
    Disallow: /
    #DISALLOW ALTAVISTA FROM THE WHOLE SITE
    User-agent: lycos
    Disallow: /
    #DISALLOW LYCOS FROM THE WHOLE SITE
    User-agent: slurp
    Disallow: /
    #DISALLOW YAHOO FROM THE WHOLE SITE
    User-agent: googlebot
    Disallow: /contact.htm
    #DISALLOW GOOGLE FROM WWW.MYSITE.COM/CONTACT.HTM
    Disallow: /terms.htm
    #DISALLOW GOOGLE FROM WWW.MYSITE.COM/TERMS.HTM
    Disallow: /print.php
    #DISALLOW GOOGLE FROM WWW.MYSITE.COM/PRINT.PHP

    Is that what it does?
     
    Jayess, Jan 1, 2005 IP
  2. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Its fine but you can compact it to:

    User-agent: scooter
    User-agent: lycos
    User-agent: slurp
    Disallow: /
    User-agent: googlebot
    Disallow: /contact.htm
    Disallow: /terms.htm
    Disallow: /print.php
     
    xml, Jan 1, 2005 IP
  3. Jayess

    Jayess Peon

    Messages:
    87
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you. Happy New Year.
     
    Jayess, Jan 1, 2005 IP