0

I want to change end URL after switch language

from: enter image description here

to

domainname.com /pl/

Any solution ?

2 Answers 2

2

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

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.