Skip to content

Instantly share code, notes, and snippets.

@Xyborg
Created January 29, 2015 04:59
Show Gist options
  • Save Xyborg/d635aa3264d2e8aa5bcb to your computer and use it in GitHub Desktop.
Save Xyborg/d635aa3264d2e8aa5bcb to your computer and use it in GitHub Desktop.
F*ck Semalt referral SPAM
# Block visits from semalt.com domains and subdomains by @Xyborg
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://([^.]+\.)*semalt\.com [NC]
RewriteRule (.*) http://www.semalt.com/?utm_source=Google&utm_medium=organic&utm_term=go_away [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment