我有这个URL:
https://www.example.it/page.php?user=Pippo
我应该得到的结果是:
https://www.example.it/Pippo
我尝试使用以下代码:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^page/(.*)/$ /page.php?user=$1 [L]
但是URL的一部分仍然存在,如果我返回到另一个页面,只要服务器崩溃,我就会一直被重定向到同一个页面。
https://stackoverflow.com/questions/52105494
复制相似问题