我在重定向此网址时遇到一些问题:
http://www.domain.com/cat,test.html?cri-109=73_82_129_490_524_536_542_547_636_672_775_797_1098_1318_1319_1453&priceMin&priceMax=%2523&cri-115=50_55_99_113_151_644
到这个
http://www.domain.com/cat,test.html?cri-109=73_82_129_490_524_536_542_547_636_672_775_797_1098_1318_1319_1453&priceMin=&priceMax=&cri-115=50_55_99_113_151_644
我试过这条线但没有运气:
RewriteRule ^(.*)%2523(.*)$ /$1$2 [R=301,L]
答案 0 :(得分:0)
尝试使用反斜杠转义%
字符:
RewriteRule ^(.*)\%2523(.*)$ /$1$2 [R=301,L]