【发布时间】:2014-06-12 21:15:26
【问题描述】:
我将用户.htaccess 文件重定向
http://www.example.org/results.php?q=anything&start=0&type=web
到
http://www.example.org/search/anything/0/web
这可能吗? 这时候,我只重定向了 q-GET 参数,用这个 RewriteRule:
RewriteRule ^search/(.*)$ results.php?q=$1 [L,QSA]
它仍然有效,但我不知道重写 3 个 Get 参数。
【问题讨论】:
标签: php .htaccess mod-rewrite redirect