View Single Post
Old 08-27-2012, 04:20 PM  
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,223
Quote:
Originally Posted by papill0n View Post
htaccess

you can redirect browser language qwikly n easily
RewriteEngine On
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^MX$ [NC]
RewriteRule ^(.*)$ http://website.com [R,L]

This is an example with Mexico traffic redirecting to http://website.com

Code:
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^CN$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^HK$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^MO$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^CN$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^HK$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^MO$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^MY$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^SG$ [NC,OR]

RewriteCond %ENV:GEOIP_COUNTRY_CODE ^TW$ [NC]

RewriteRule ^(.*)$ http://mysite.com [R,L]
This would redirect multiples to website.com
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

Last edited by Colmike9; 08-27-2012 at 04:22 PM..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote