magento-language-routes
magento-language-routes copied to clipboard
Switching the language does not redirect correctly
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
+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.