Quote:
Originally Posted by CS-Jay
Redirect traffic based on IP
|
I have GeoIP installed and this is what you can do in your htaccess
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(US|CN)$
RewriteRule ^(.*)$ https://youtube.com/watch?v=PGuoR1V2nFQ$1 [L]
The above sample code redirects American and Chinese traffic to this Youtube video
