Thread
:
htaccess redirect rule help needed.
View Single Post
01-17-2012, 07:06 AM
sponsorpimp
Confirmed User
Industry Role:
Join Date: Apr 2008
Posts: 1,567
htaccess redirect rule help needed.
I want to redirect GB visitors to a diffrent URL by using htaccess I have tried the code below with no luck at all can anyone help!
RewriteEngine On
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^GB$
RewriteRule ^(.*)$ http://gb.example.com$1 [L]
Thanks
__________________
sponsorpimp
View Public Profile
Find More Posts by sponsorpimp