mod_rewrite rules

Status
Not open for further replies.

carmach

New member
Jul 21, 2007
24
1
0
I want to rewrite hello-haha-blah.html?tits=iliketits to index.php?a=hello-haha-blah&tits=iliketits.

I tried to use

RewriteRule ^(.*)\.html?(.*)$ index.php?a=$1&$2 [L]

but was unsuccessful.

Does anyone have any idea what I'm doing wrong?
 


Status
Not open for further replies.