Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 10, 2008, 3:49 am
rate this thread
RewriteRule ^(.*).html$ index.php?page=$1 [L]
So when the url is test.html it is redirected to index.php?page=test.
I would like to send a parameter like this: test.html?id=8 and have it
redirected to index.php?page=test&id=8.
How do I change the rewriterule to achieve that?
If there is no argument in the html page it shall be redirected like
it was before.