also @ TechSpot: Razer brings the arcade experience home with the Atrox Arcade Stick

Robots.txt Question

Discussion in 'Virus and Malware Removal' started by TheJediSlayer, Feb 9, 2008.

  1. TheJediSlayer Newcomer, in training Posts: 182

    Hello,

    I was wondering if it were possible to deny all bots, but bots from search engines like Google. I realize that certain bots will ignore the robots.txt file, but I still would like to create a robots.txt that would deny from all except certain search engines that I put into the robots.txt file. Thanks for any help,

    Tyler.
  2. kimsland Ex-TechSpotter Posts: 18,353

  3. TheJediSlayer Newcomer, in training Posts: 182

    Yeah, I checked that site out. I'm just unsure how to go about making a robots.txt with just a few bots allowed. Anyways, I'll keep looking around, but any help is appreciated, again.
  4. jobeard TS Ambassador Posts: 12,210   +118

    from the robottxt.org site
    User-agent: Google
    Disallow:

    User-agent: *
    Disallow: /
    notice the EMPTY disallow ... implies Allow Google :)
  5. TheJediSlayer Newcomer, in training Posts: 182

    Hey,

    Thank you very much. I appreciate it.

    Oh, one last question. For the robots.txt file. Would I just enter User-agent: Yahoo under Google, in order to make it so that Yahoo too can scan my site?
  6. jobeard TS Ambassador Posts: 12,210   +118

     
  7. TheJediSlayer Newcomer, in training Posts: 182

    Thank you,

    Tyler