0

我有一个小问题重定向这个网址:

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]
4

1 回答 1

0

尝试%使用反斜杠转义字符:

RewriteRule ^(.*)\%2523(.*)$ /$1$2 [R=301,L]
于 2013-06-12T16:50:06.557 回答