Block Hitbots - Block hitbots based on referring URL.
# Begin Block Hitbot RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?www.badhitbot.com.*$ [NC] RewriteRule .* - [F,L] # // --> End If you would like to redirect the hitbots to another folder or server, use the code below: # Begin Block Hitbot & Redirect RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?www.badhitbot.com.*$ [NC] RewriteRule .* http://yourdomain.com/bad-hitbots-folder/spank.php [R,L] # // --> End