Skip to content

Instantly share code, notes, and snippets.

@rolandinsh
Last active August 29, 2015 14:13
Show Gist options
  • Select an option

  • Save rolandinsh/4b6cbfcb817de1dcc78c to your computer and use it in GitHub Desktop.

Select an option

Save rolandinsh/4b6cbfcb817de1dcc78c to your computer and use it in GitHub Desktop.
block visitors referred from semalt.com and buttons-for-website.com
# 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]
@rolandinsh
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment