如何使这个htacess重写规则由于最终参数而停止失败
我有这个URL重写规则 RewriteRule ^(send-your-request.*)$ / [NC,L,QSA,R=301] 它应该基本上只是从URL中删除“/发送你的请求”(即重写它的查询string参数从域即 http://example.com/send-your-request/?a_aid=rocketnews24&pname=just%20a%20test 被重写为: http://example.com/?a_aid=rocketnews24&pname=just%20a%20test 在这种情况下,它的工作,但如果我添加最后一个参数,它停止工作 http://example.com/send-your-request/?a_aid=rocketnews24&pname=just%20a%20test&plink=http%3A%2F%2Fradio-eva.jp%2Fshop%2Fproducts%2Fdetail.php%3Fproduct_id%3D82 任何人都可以告诉我一个更好的重写规则,可以处理所有的查询string参数? 编辑这里是我的其他规则,但我有第一个“L”,所以它应该停止处理权? RewriteRule ^(send-your-request.*)$ / [NC,QSA,R=301,L] Redirect 301 /products http://whiterabbitexpress.com/ RewriteRule ^index\.php$ – [L] RewriteCond %{QUERY_STRING} ^(.*)q=(.*)$ RewriteRule ^(.*)$ $1?%1s=%2 [L,R=301] RewriteRule ^catalogsearch/result/?$ / [NC,QSA,L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]