Forum Moderators: martinibuster
User-agent: Mediapartners-Google*
User-agent: Slurp
User-agent: Googlebot
User-agent: Msnbot
Disallow: /honeypot.php
User-agent: *
Disallow: /
User-agent: Mediapartners-Google
I confirmed this with the webmaster tools from google. It is true that you need to include both googlebot and mediapartners-google if you want to explicitly allow both while denying other bots access.
Using the Google robots.txt validation tool is very, very dangerous as it is only validates for what Google respects (with some discrepancies as noted above). If you use wildcards and things like the "Allow" directive and validate through Google, don't be surprised if no other robots respect your robots.txt.
It's safer to do whatever it takes to stick with the current standard.
For the past two years, I have agressively blocked empty referrers and most bots with my htaccess file, except for Google. Now I have emptied most of the directives in my htaccess file, except for the essentials to see if things change soon.
Maybe something changed recently with the user agent string for G's bots?
Ultimately that's just the arbitrary name that the Mediapartners spider chooses to answer to and obey. It could be anything; it doesn't need to correspond in any particular way to the actual user agent that the spider passes. In other words, this is different from using an asterisk in a "disallow" statement in the robots.txt file.