1
2
输入到
考虑到这一点,我们可以将规则改写为如下内容:
假设查询字符串已经是您想要的格式,我们只需让
如果不确定查询字符串
每 Roland Illig's 注释,您还可以执行以下操作,以减少对文件所在目录的限制:
编辑
:更改了规则以反映如何在
|
2
0
应该这样做:
|
Laurent · Htaccess仅重定向一个带有查询字符串的URL 6 年前 |
amazedinc · 特定于页面的mod\u重写规则 6 年前 |
fluxus · 目录和文件共享相同名称时清除URL 6 年前 |
Y. EY · 如何编写htaccess重写规则以匹配连字符? 6 年前 |
kai · 友好url中的非强制参数 6 年前 |
Andrik007 · 如何使用htaccess拆分URL 6 年前 |
tanghus · 删除“”“”从查询字符串 6 年前 |