Robots.txt: allow only major SE

vyger picture vyger · Mar 22, 2009 · Viewed 22.7k times · Source

Is there a way to configure the robots.txt so that the site accepts visits ONLY from Google, Yahoo! and MSN spiders?

Answer

NoahD picture NoahD · Mar 22, 2009

User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /
User-agent: Slurp
Allow: /
User-Agent: msnbot
Disallow: 

Slurp is Yahoo's robot