Tag Info

New answers tagged

0

In order to redirect from the "unfriendly" URL to the "friendly" URL, avoiding rewrite loops, you can check against %{THE_REQUEST} (which contains the initial HTTP request). For example: RewriteCond %{THE_REQUEST} \?A=CONTACT RewriteRule ^index2\.php /contact? [R=301,L] This should come before the internal rewrite that turns the "friendly" URL into the ...



Top 50 recent answers are included