我想重定向以下两个链接:
/catalog/yogicchai/rooibos-masala-chai-naturally-caffeine-c-84.html?infoBox=5 (category link)
/catalog/yogicchai/rooibos-masala-chai-naturally-decaffeinated-p-291.html (product link)
至:
yogicchaiDOTcom/rooibos-masala-chai-naturally-decaffeinated.html
我认为这是解决方案:
RedirectMatch 301 /catalog/yogicchai/rooibos-masala-chai(.*)\.html
yogicchaiDOTcom/rooibos-masala-chai-naturally-decaffeinated.html
但最终结果是:
yogicchaiDOTcom/rooibos-masala-chai-naturally-decaffeinated.html?infoBox=5
我不想"?infoBox=5"
打印在上面 URL 的末尾
我怎样才能防止这种情况发生?