【发布时间】:2013-10-11 05:29:26
【问题描述】:
我的项目有 http://domain.com/index.php?page=home/contactus 、 http://domain.com/index.php?page=events/announcementdetails/80 等 URL。
我想避免给定 URL 中的 index.php?page= 和 80 之类的参数,并希望将 URL 更改为 http://domain.com/home/contactus 和 http://domain.com/events/announcementdetails。如何使用 htaccess 文件实现这一点。
【问题讨论】:
标签: .htaccess