Rewrite Rule with dynamic link -


i trying rewrite rule:

from: http://example.com/login.php?new="dynamic string"

to: http://example.com/signup/?new_user="dynamic string"

my code:

rewriterule ^login.php(.*)$ /signup/$1 

but cant right result... get:

http://example.com/?new_user="dynamic string"

worked me:

rewritecond %{query_string} new=(.*) rewriterule ^login.php(.*)$ /signup/?new_user=%1 [r=301,l] 


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -