Quote:
Originally Posted by papill0n
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..