How to fight against bingbot/2.0

3.6k views Asked by At

I am tired by bingbot, howto fight against this robot. it create too session.

I do that in ht access : opinion ?

#bingbot create too session
RewriteCond %{HTTP_USER_AGENT}  ^bingbot/.*         [OR,NC]
RewriteCond %{HTTP_USER_AGENT} bingbot [NC]
RewriteRule ^(.*)$ http://go.away/                      [L]
1

There are 1 answers

7
drj On

.htaccess

RewriteEngine On

RewriteCond %{HTTP_USER_AGENT} (bingbot) [NC]
RewriteRule .* - [R=403,L]

Or use robots.txt

User-agent: bingbot
Disallow: /