Redirecting URLs from /ch-de/ to /de/ and redirecting URLs with ? and &

后端 未结 2 575
旧时难觅i
旧时难觅i 2021-01-16 14:46

Internet research didn\'t help me so I am desperately to ask the community for an answer. The problem is: we have transferred a webshop from Joomla-Virtuemart to PrestaShop.

相关标签:
2条回答
  • 2021-01-16 14:59

    You can't match URL's http:// part in Redirect directive. Use this instead:

    Redirect 301 /ch-de/Brautschmuck/Schmuckset-Miranda http://wedding-shop.com/de/brautschmuck/61-schmuckset-miranda-braut.html
    
    0 讨论(0)
  • 2021-01-16 15:01

    Grüezi Lionna,

    Try out this code:

    RedirectMatch ^/ch-de/(.*)$ http://wedding-shop.com/de/$1
    
    0 讨论(0)
提交回复
热议问题