我四处寻找我问题的答案,结果更加迷茫。我希望有人能帮我…
我需要重定向此URL:

http://www.testsite.co.uk/ecommerce/cabinets/aluminium_cabinets

到:
http://www.testsite.co.uk/products/cabinets/?types[]=illuminated-aluminium-cabinets&types[]=non-illuminated-aluminium-cabinets

请帮忙:)

最佳答案

请尝试:

 RedirectMatch ^/ecommerce/cabinets/aluminium_cabinets/?$ http://www.testsite.co.uk/products/cabinets/?types[]=illuminated-aluminium-cabinets&types[]=non-illuminated-aluminium-cabinets

07-26 07:33