Reputation: 181
Works:
RewriteRule index2.php/xyz/ index2.php/?pt=xyz [QSA,L]
Doesn't Work:
RewriteRule index2.php/(.+)$/ index2.php/?pt=$1 [QSA,L]
I tried to use the above rewrite rule but somewhy it doesn't work... $1 stays null
Upvotes: 0
Views: 59
Reputation: 62
Why is the $
in there after (.+)
? Dollar sign means end of line in most regex engines. What happens if you take that out?
Upvotes: 1