如何让Apache重写执行以下操作...
将接收到的url作为:
domain/somename/index.php?query=1&anotherquery=2并将其更改为:
domain/index.php?query=1&anotherquery=2&name=somename干杯,欧麦。
发布于 2009-08-06 08:47:10
在您的.htaccess文件中尝试此规则:
RewriteRule ^([^/]+)/index\.php$ index.php?name=$1 [QSA]https://stackoverflow.com/questions/1237576
复制相似问题