![]() |
How to block access from proxy sites?
I want to block a country which brings just hackers or thieves to my site and no real sales. I know they will try to use proxies - how can I block them or at least make it as difficult as possible to access my sites?
|
you would lose legit traffic as well by blocking proxies, use geoip to block bad countries or a free cloudflare account to block known bad users
|
http://www.wpreads.com/2013/03/block...ess-sites.html
Basically you add this to your .htaccess file Code:
<IfModule mod_rewrite.c> Code:
<?php if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1)) die("Proxy access not allowed"); ?> |
I use geoip and strongbox to block countries where a high level of fraud and file sharing originated.
Losing a handful of possible legit sales is worth it for less headache! |
All times are GMT -7. The time now is 08:36 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123