在robots.txt中合并用户代理


11

可以将用户代理一起列出,然后在robots.txt中列出其通用规则吗?

User-agent: Googlebot
User-agent: ia_archiver #Alexa
User-agent: BingPreview #Microsoft
User-agent: bingbot #Microsoft
User-agent: MSNBot #Microsoft
User-agent: Slurp #Yahoo
User-agent: Ask Jeeves/Teoma #Ask
Disallow: /adm30_buds/

1
您为什么不使用user-agent: *“禁止”,这是有原因的吗?“允许的”用户代理列表是否比您要禁止的列表长?
Mike Hudson

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.