请帮助我如何使用.htaccess文件重定向网址
Old Url: mydomain.com/?
GID=0FFB340425F74356BEAB3817BD8E70F9&AKH=111&desc=%D9%86%D8%B4%D8%B1
New Url: mydomain.com/test
答案 0 :(得分:0)
应该是
RewriteCond %{QUERY_STRING} GID=0FFB340425F74356BEAB3817BD8E70F9
RewriteCond %{QUERY_STRING} AKH=111
RewriteCond %{QUERY_STRING} desc=%D9%86%D8%B4%D8%B1
RewriteRule (.*) /test? [R=301,L]