.htaccess - URL Rewrite doesn't work as intended apache2 -
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 use above rewrite rule somewhy doesn't work... $1 stays null
why $
in there after (.+)
? dollar sign means end of line in regex engines. happens if take out?