Page 1 of 1

Blocking traffic from semalt and buttons-for-website

Posted: Thu Feb 12, 2015 8:53 pm
by BrokenGlasses
Hi guys,

I am getting some traffic from semalt and buttons-for-website and since it is messing up my analytics (higher bouncerates, etc) i want to block this traffic.

Anyone encountered this problem before and does someone have a solution?

Thanks in advance!

Re: Blocking traffic from semalt and buttons-for-website

Posted: Fri Feb 13, 2015 12:43 am
by granddaddy
I am working on blocking these myself. I have found I can block them by adding the following to the end of my .htaccess

Code: Select all

SetEnvIfNoCase Referer semalt spammer=yes
SetEnvIfNoCase Referer buttons-for-website spammer=yes

Order allow,deny
Allow from all
Deny from env=spammer