Skip to content

Instantly share code, notes, and snippets.

@srsad
Created January 27, 2020 10:11
Show Gist options
  • Save srsad/2f11b1afa299b0bd0e5398b24507c0df to your computer and use it in GitHub Desktop.
Save srsad/2f11b1afa299b0bd0e5398b24507c0df to your computer and use it in GitHub Desktop.
SetEnvIfNoCase User-Agent "bingbot|SemrushBot|AhrefsBot|YandexBot|DotBot|SeznamBot|ZoominfoBot|MegaIndex.ru|Exabot|VelenPublicWebCrawler|svetabot" bad_bot
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment