I am trying to rewrite
tagged.php?flag=parameter&page=1
into
/parameter/?page=1
So I am using:
RewriteRule Hotties/?(.*) tagged.php?flag=parameter&page=$1
However the result I am getting is:
/parameter/?page=
Which is the “1”. I am not sure what is missing. Clearly the issue is with the (.) and the “=” but I am not sure what is wrong. I also tried (.$) which did not fix it.
According to the documentation, you need to match against the URL path and the query string separately. If this is really your question,
then you’d use
but I suspect you actually want to go the other way around, in which case you’d use
Not sure where the "Hotties" thing comes into it.