Last active
August 29, 2015 14:13
-
-
Save rolandinsh/4b6cbfcb817de1dcc78c to your computer and use it in GitHub Desktop.
block visitors referred from semalt.com and buttons-for-website.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # block visitors referred from semalt.com and buttons-for-website.com | |
| RewriteEngine on | |
| RewriteCond %{HTTP_REFERER} semalt\.com [NC] | |
| RewriteRule .* - [F] | |
| RewriteCond %{HTTP_REFERER} buttons\-for\-website\.com | |
| RewriteRule ^.* - [F,L] | |
| RewriteCond %{HTTP_REFERER} buttons\-for\-your\-website\.com | |
| RewriteRule ^.* - [F,L] | |
| RewriteCond %{HTTP_REFERER} best\-seo\-offer\.com | |
| RewriteRule ^.* - [F,L] | |
| RewriteCond %{HTTP_REFERER} 100dollars\-seo\.com | |
| RewriteRule ^.* - [F,L] | |
| RewriteCond %{HTTP_REFERER} semaltmedia\.com | |
| RewriteRule ^.* - [F,L] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NGINX version here https://gist.github.com/rolandinsh/52197d4d4feb37dffe9b