我厌倦了bingbot,如何对抗这个机器人。它创建了太多会话。
我在访问中这样做:观点?
#bingbot create too session
RewriteCond %{HTTP_USER_AGENT} ^bingbot/.* [OR,NC]
RewriteCond %{HTTP_USER_AGENT} bingbot [NC]
RewriteRule ^(.*)$ http://go.away/ [L]发布于 2015-03-23 22:39:59
.htaccess
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (bingbot) [NC]
RewriteRule .* - [R=403,L]或者使用robots.txt
User-agent: bingbot
Disallow: /https://stackoverflow.com/questions/29212810
复制相似问题