I am trying to rewrite the following URL
test.php?par1=foo&par2=bar
IN...
newtest.php?hidden_par=blah&par1=foo&par2=bar
I have this rule that does not work:
RewriteRule ^test.php\??(.*?)$ newtest.php?hiden_par=blah&$1 [L]
Can this be done using RewriteCond or something else? (let's say can this be done?), thanks in advance.
source
share