Forum Moderators: phranque
Install.html?rid=123
is turned into this:
index.php?page=Install&rid=123
Here's the rule I tried to write:
RewriteEngine on
Rewriterule ^(.*).html?(.*)$ index.php?page=$1&$2
Rewriterule ^(.*).html$ index.php?page=$1 It works, except in order to get my second variable passed to $_GET, I have to do: Install.html&rid=123
... using the '&' instead of '?' to prepend the query string. Did I miss something in this?
Thanks and have a great evening!
- James
[edited by: MunchSoft at 3:17 am (utc) on Nov. 3, 2007]
RewriteEngine on
RewriteRule ^([^.]+\.html$ index.php?page=$1 [QSA,L]
Jim
RewriteEngine on
RewriteRule ^([^.]+)\.html$ index.php?page=$1 [QSA,L]
Jim