Last active
December 15, 2016 06:30
-
-
Save arifulhb/9ad6bb8a4d2973bc802e703141eb70e0 to your computer and use it in GitHub Desktop.
This file contains 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
# block google analytics spam | |
RewriteCond %{HTTP_REFERER} ^http://.*7makemoneyonline\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*bestwebsiteawards\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*blackhatworld\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*blackhatworth\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*cenoval\.ru/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC] | |
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*hulfingtonpost\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly.\.ru/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.org/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.info/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*iloveitaly\.ru/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*pricereg\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR] | |
RewriteRule ^(.*)$ – [F,L] | |
</IfModule> | |
# END WordPress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment