Hi,
I am trying to achieve below redirection rule:
this url should be redirected to below url:
(where welcome?trackFor=0trackNo= always remains same)
Here you can see at the end, the query string is passed same as in source url i.e. 1234ab
I wrote the below Rewrite rule and condition:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} (.*(([0-9]+).*)) [NC]
RewriteRule ^(.*)$ /welcome?trackFor=0&trackNo=%1 [L,R=302,QSD]
</IfModule>
I receive, too many redirects error in browser and page keeps on loading.
Am I missing something in mod_rewrite?
Cheers
-Vicky