Quote:
Originally Posted by deejne
You can use .htaccess to redirect specific countries.
Code:
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (aa|ab|af|am|ar|as|ay|az|ba|be|bh|bi|bn|bo|br|ca|co|dz|fa|gn|gu|ha|hi|kk|km|ku|ky|lo|lt|lv|mg|mi|mk|ml|mn|mo|mr|ms|mt|my|na|ne|oc|om|or|pa|qu|rn|ru|rw|sa|sd|sg|si|sn|so|ss|st|su|sw|ta|te|tg|th|ti|tk|tl|tn|to|tr|ts|tt|tw|uk|ur|uz|vi|vo|wo|xh|yo|zh|zu) [NC]
RewriteRule .* http://www.SOMEWEBSITE.com [R,L]
|
I am getting a ton of chinese traffic from chinese bbs sites, how would I set this code up to stop all chinese traffic. Any help would be appreciated.