php - Can't make HTACCESS rewrite with pameters -
i have routing system set in system already. trying add 1 exception it, @ beginning of htaccess added
rewritecond %{request_uri} rewriterule ^(.*)anything(.*)$ http://test.com?t=$2 [qsa,l]
so when go url: localhost/mysite/anything/param, expecting redirect http://test.com?t=param
but goes http://test.com
, because t
variable blank.
what matter solution? need else?
Comments
Post a Comment