创建简单的 URL(.htaccess - mod_rewrite)
我的导航有这样的结构index.php?v=page
我希望将其转换为:www.domain.com/page/ - 使用mod_rewrite..对此有什么想法吗?我读了一些图和例子,但无法让它正常工作。
I have this structure for my navigation index.php?v=page
I am looking to convert it to: www.domain.com/page/ - using mod_rewrite..any ideas on that? I read through some tuts and examples, but couldnt get it working right.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一些例子。
第二条规则听起来像是你所追求的。
Here's some examples.
The second rule sounds like what you're after.