I need some more help....
I can't get to "reuse" variables I'm passing through....
here's my example:
(yes, I'm trying to redirect all "www.example.com/abcde" calls to a specific PHP script, with that "abcde" pass as variable)
with this, I get redirected to: "test.php?myvar=" and no value for this variable "myvar"....
I also tried using "$" instead of "%" in RewriteRule statement - but I get the same....
could anybody post a working example of passing variables to script you're redirecting with RewriteRule ?
thank you
I can't get to "reuse" variables I'm passing through....
here's my example:
RewriteEngine On
RewriteRule ^[a-zA-Z]{5}$ /test.php?myvar=%1 [R=301,L]
(yes, I'm trying to redirect all "www.example.com/abcde" calls to a specific PHP script, with that "abcde" pass as variable)
with this, I get redirected to: "test.php?myvar=" and no value for this variable "myvar"....
I also tried using "$" instead of "%" in RewriteRule statement - but I get the same....
could anybody post a working example of passing variables to script you're redirecting with RewriteRule ?
thank you




