开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜