How to block traffic from spy tools!
Category Tracking Campaigns
hey guys, Chintan Shah here.
I was getting pissed from all the traffic I was getting from spy tools. So I did a quick search and you can block the user from its referral domain in .htaccess
So here is the code:
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} badsite.com
RewriteRule .* –
And guys keep the preceding the . as it is. So suppose you wanna block traffic from facebook.com.
It should be facebook.com and indicates non case sensitive.
Hope it helps peopl ...