magento-language-routes icon indicating copy to clipboard operation
magento-language-routes copied to clipboard

Switching the language does not redirect correctly

Open maxi032 opened this issue 9 years ago • 1 comments

If I am on NL on the page: nl/kasse/winkelwagen/ and I switch to DE it takes me to the same url with the language segment changed. So: de/kasse/winkelwagen/ generating a 404

maxi032 avatar Oct 13 '15 10:10 maxi032

+1. How could I get original url?

$store->getCurrentUrl() will return nl/kasse/winkelwagen/ for nl and de/kasse/winkelwagen/ for de, what will cause 404 error.

kusmierz avatar Feb 10 '16 13:02 kusmierz