Question

I want to change end URL after switch language

from: enter image description here

to

domainname.com /pl/

Any solution ?

Was it helpful?

Solution

You need to set below configuration to yes

Admin > Stores > Configuration > General > Web > URL options > Add Store Code to Urls > Yes

enter image description here

OTHER TIPS

You can disable store codes from admin

Admin > Stores > Configuration > General > Web > URL options > Add Store Code to Urls > No

and then run in terminal

php bin/magento setup:upgrade
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top