Yes, it's summer and traffic from US and UK (highly converting for adsense) has dropped as usual...but I'm getting good non-converting traffic from the Middle East and China. Over 250 index page visits a day and 1-2 clicks only...and that too pay a few cents. Question is, should I block these countries or let it be the way it is? Which countries do you think should be blocked? What is the best way to block them ? (don't tell me to upload a huge .htaccess LOL)
Why, I think we can use maxmind's IP to country. Crackjoe has a nice remotely hosted service on it too. Open to other decent options too My main question is whether to block at all...and if so, then which countries?
Yeah ! Usually traffic from this countries have no earnings ! Even from Adsense as well as from Adversal !
OK suggest me a list of countries to block for proxies. (mainly for low conversion and spamming/fraudulent activities too)
You should probably look into blocking China and eastern Europe. Every day I get hacking attempts from these two parts of the world and it really upsets me. Especially China is very bad. I haven't blocked them yet though. I have pretty good brute force detection and spam blocking scripts. I would use .htaccess though, since it is faster then any other proposed solution (the web server aborts right away instead of fetching php, processing a database and then deciding what to do - costs too many resources) Just figure out the correct IP ranges by monitoring the traffic over time and block entire IP blocks. That should keep .htaccess small. Alternatively you could block them at the firewall (apf) if you run your own server. This should save even more resources, since it won't even call apache. The request will be dropped right at the interface. I am using this: http://www.rfxnetworks.com/apf.php And this: http://www.rfxnetworks.com/bfd.php I think to block an entire class c block with apf you just type apf -d xxx.xxx.xxx.0/24 to block even more you can do apf -d xxx.xxx.0.0/16 (blocks everything from xxx.xxx.0.0 to xxx.xxx.255.255) its all in the readme anyways.
Interesting post, I'm having a huge problem with traffic from Iran. Recently traffic has spiked and profits from adsense have stayed the same. I'm horrible at adding this type of thing to my server anyone know how might be able to help me ad some sort of blocking for this?
Incidentally its part of a larger story i just wrote about: http://www.aguntherphotography.com/blog/surviving-100000-instant-visitors-on-a-budget.html (pretty far down on the page under China)
Hello, So you have a proxy website which receives visitors from countries who give less conversion and you wish to block these countries. Let me help you. The easiest way in blocking visitors is by using an .htaccess file. In this .htaccess file you write ip addresses of visitors who you want to deny access to your site, or in your case proxy server. As you might know, it is almost impossible to know all IP addresses of your visitor; therefore http://www.blockacountry.com/ has developed a service which helps you in blocking traffic from certain countries. I am inviting you to look at http://www.blockacountry.com/ and use this service if denying access is what you are looking for. If it is not what you are looking for then I am kindly asking you to rephrase your question. Enjoy. Wildcard
Hi wildcard, Your post was just what i was looking for to cure me of this summer low click cost from adsense. I will use this site to block some of the countries that has the low conversion clicks but my question is... How to write it in the .htaccess file? Is it as simple as just copying and pasting the ip addresses?
>Is it as simple as just copying and pasting the ip addresses? It is that simple! Sometimes computers do what they are made for. PM me if you have any troubles... Wildcard
I just used a .htaccess allowing US/UK/CAD and deny everything else except my country Is there a better way to do this for a proxy site?
Not that I know. You could also create a php script that checks where the user comes from, but in this case your server still needs to execute code thus resulting in that your server gets still "overloaded" with "bogus" traffic.