【发布时间】:2012-09-09 16:53:57
【问题描述】:
我有一个带有 xampp 的本地网站,我想将此网址 localhost/mysite/frontend/article.php?article_id=something 转换为 localhost/mysite/frontend/article_id/something。我使用此重写规则
RewriteRule ^([A-Za-z0-9-]+)/?$ article.php?article_id=$1 [L]
但不正确。有人可以帮忙解决一下吗。谢谢。
【问题讨论】:
标签: mod-rewrite xampp localhost