- Code: Select all
RewriteRule ^/test/(.*)/(.*)/$ http://www.test.com/index.php?pg=$1&pg2=$2 [L]
this rewrite statement is causing the browser to request the rewritten URL instead of staying at the one like follows:
www.test.com/test/var1/var2/ is requested
server send redirect to
www.test.com/test/index.php?pg=var1&pg2=var2
browser requests this page and is displayed in URL bar
I had multiple mod rewrites working, but now they all send the redirect, is there a global setting that can change this?