开发者

Passing GET parameters in mod_rewrite

开发者 https://www.devze.com 2023-03-23 06:38 出处:网络
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://dum

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

精彩评论

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

关注公众号