mod_rewrite - 固定和可变查询字符串参数
我想将
www.mydomain.com/approve/SomeFunkyVariable 发送到
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
的规则是什么这?
I want to send
www.mydomain.com/approve/SomeFunkyVariable to
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
What is the rule for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
完全忽略参数(考虑到您没有提到它们)
要包含参数,您需要一个像
www.mydomain.com/com_content/view/547/85/approve/SomeFunkyVariable这样的网址
Completely ignoring the params (considering you haven't mentioned them)
To include the params you'll need a url like
www.mydomain.com/com_content/view/547/85/approve/SomeFunkyVariable