Block Traffic from Proxy.org & China
- 1 Comment
Having had many reports of proxy webmasters being banned by Google Adsense due to non-human traffic from proxy.org and various other top sites here is a fix to have traffic from any site you choose blocked.
All you need to do is add the following in your .htaccess:
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} proxy\.org [NC]
RewriteRule .* - [F]
For other sites, just replace proxy\.org with your chosen site, adding a \ before the . in the URL.
To ban country specific traffic, which often has low PPC, do this:
Open up .htacces and add this:
order allow,deny deny from 65.19.146.2 220.248.0.0/14 allow from all
Now you will need to find the latest country specific IP block ranges from http://www.wizcrafts.net/iptables-blocklists.html just edit the IP numbers in the code.
Hope this helps you guys out!
1 Comments on this post
Trackbacks
-
Allen Harkleroad
said:
I will have to agree on blocking proxy servers and web proxies (and some countries) my AdSense daily revenue has nearly tripled after doing so.
Allen
November 15th, 2008 at 11:34 am
















