I would like to redirect all french speaking traffic coming to my domain to some site...WITH EXCEPTION for few referers(that traffic wouldn't be redirected)....how to do this ?
thx....
thx....
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (fr) [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowsite\.com/.*$ [NC]
RewriteRule .* [url]http://www.domain.com/redirect-url[/url] [R,L]

Comment