Skip to content

Instantly share code, notes, and snippets.

@klongdesigns
Created April 27, 2014 04:57
Show Gist options
  • Save klongdesigns/11337887 to your computer and use it in GitHub Desktop.
Save klongdesigns/11337887 to your computer and use it in GitHub Desktop.
SEMALT CODE IN HTACCESS
<Limit GET HEAD POST>
order allow,deny
deny from semalt.com
allow from all
</LIMIT>
#Semalt redirection
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?semalt.com.*$ [NC]
RewriteRule .* google.com [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment