Passing GET parameters in mod_rewrite
I've build a set of mod_rewrite rul开发者_如何学运维es but I have a problem.
For example, I have the following url rewritten: http://dummydomain.com/category/something.html
that points to http://dummydomain.com/index.php?page=category&thing=something
. If I put GET params in the first url I don't get them in my php program. How can I tweak this?
Add the [QSA]
("query string append") flag at the end of your rules.
精彩评论