查询字符串会附加到已重写工作的URL上
我有一个动态页面,我使用mod重写来使URL友好:
重写 ^page/([0-9]+)/([[A-ZA-Z0-9-9-_。]+)?/?/? $ /page.php?id=$1&; slug = $ 2 [nc,l] < /code>
现在我想在某些页面上添加其他参数strong> php $ _ get
。因此,我想知道在重写规则中添加它是否有办法。
I have a dynamic page which I used mod rewrite to make the url friendly:
RewriteRule ^page/([0-9]+)/([A-Za-z0-9-_.]+)?/?$ /page.php?id=$1&slug=$2 [NC,L]
Now there are other parameter I want to add to the url for some of the pages, I tried it but was not identified in php $_GET
. So I want to know if there is a way to that beside adding it in the rewrite rule.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论