How to block spam referrers like darodar.com and priceg.com

In this tutorial I will explain how to stop traffic from darodar.com, priceg.com, econom.co, ilovevitaly.com and other spam referrers. You can easily restrict access to this spam referrers by using .htaccess.

So, if you want to stop traffic from darodar.com, just add this code:

<IfModule mod_setenvif.c>
<FilesMatch "(.*)">
SetEnvIfNoCase Referer darodar.com spambot=yes
Order Allow,Deny
Allow from All
Deny from env=spambot
</FilesMatch>
</IfModule>

in htaccess.

If you want to stop traffic also from priceg.com, econom.co and ilovevitaly.com, add this code:

<IfModule mod_setenvif.c>
<FilesMatch "(.*)">
SetEnvIfNoCase Referer econom.co spambot=yes
SetEnvIfNoCase Referer ilovevitaly.com spambot=yes
SetEnvIfNoCase Referer ilovevitaly.ru spambot=yes
SetEnvIfNoCase Referer ilovevitaly.org spambot=yes
SetEnvIfNoCase Referer ilovevitaly.info spambot=yes
SetEnvIfNoCase Referer iloveitaly.ru spambot=yes
SetEnvIfNoCase Referer darodar.com spambot=yes
SetEnvIfNoCase Referer priceg.com spambot=yes
Order Allow,Deny
Allow from All
Deny from env=spambot
</FilesMatch>
</IfModule>

In this way you can block all spam referrers!









Leave a Comment