【发布时间】:2015-05-04 03:50:39
【问题描述】:
我想设置.htaccess重写:
example.com/bla/info/
到
example.com/info/index.php?q=bla
example.com/bla/info/txt/
到
example.com/info/index.php?q=bla&t=txt
我希望浏览器仍然显示:
example.com/bla/info/txt/
我不想在 2 级重写中重写,例如:
example.com/bla/xxx/
或
example.com/ccc/zzz/aaa/
但是
example.com/silly/info/
效果很好
example.com/strange/info/mytxt/
这有意义吗?
有什么帮助吗?
【问题讨论】:
标签: .htaccess mod-rewrite