: Have your rules like this: RewriteCond %{QUERY_STRING} !^lang= [NC] RewriteCond %{HTTP_COOKIE} lang=([^;]+) [NC] RewriteRule ^(.*)$ /?lang=%1 [R,QSA,L] That way you will not not get infinite loop
Have your rules like this:
RewriteCond %{QUERY_STRING} !^lang= [NC]
RewriteCond %{HTTP_COOKIE} lang=([^;]+) [NC]
RewriteRule ^(.*)$ /?lang=%1 [R,QSA,L]
That way you will not not get infinite loop because of 1st negative condition.
More posts by @Si4351233
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.