Skip to content

Magento 2 switch language without the language switcher’s redirect chain?

We do run M2.4.7 store in 3 languages. The problem we discovered now is tons of indexed URLs in Google Search Console from language switcher, like this:

domainname/sl/stores/store/redirect/___store/de/___from_store/sl/uenc/aHR0cHM6Ly93d3cud2VyZW8uZXUvZGUv/

Is there any possible way to switch languages directly to the correct URL, without the chain redirect?

Instead of this: domainname/sl/stores/store/redirect/___store/de/___from_store/sl/uenc/aHR0cHM6Ly93d3cud2VyZW8uZXUvZGUv/

To be a direct URL like this: domainname/sl/category-name

I really appreciate any suggestion.