我厌倦了bingbot,如何对抗这个机器人。它创建了会话。
我在ht访问中这样做: 意见?
#bingbot create too session
RewriteCond %{HTTP_USER_AGENT} ^bingbot/.* [OR,NC]
RewriteCond %{HTTP_USER_AGENT} bingbot [NC]
RewriteRule ^(.*)$ http://go.away/ [L]
答案 0 :(得分:0)
的.htaccess
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (bingbot) [NC]
RewriteRule .* - [R=403,L]
或使用robots.txt
User-agent: bingbot
Disallow: /