我目前有一个htaccess文件,其中重写domain.com/index.php?page=home to domain.com/homeRewriteEngine On
我所要做的也是从url中获取&id=,以便将index.php?page=home&id=5重写到/home/5。我遇到的另一个问题是,
我试图将我现有的url从http://localhost/website/article.php?id=5重写到http://localhost/website/article/5,因此我的htaccess代码RewriteEngine On
RewriteCond文章似乎被添加到文件的url中,甚至重定向文件目录。真正的ur