Guys, need a little help!
I have a site written in asp and here I am doing it with the friendly urls isapirewrite
i need to redirect:
mysite.com/default.asp?my-category to:
mysite.com/my-category/ i did this regular expression:
RewriteRule (/default.asp\?)(.+) $2/ [NC,R=301,L]
but this return:
mysite.com/my-category/?my-category and tried this too:
RewriteRule /default.asp\? / [NC,R=301,L]
but this return:
mysite.com/?my-category the "?" is maintained
for me the regular expression is correct
but why the the "?" is maintained?
anyone help me please? thanks a lot!