Pregunta

I want to change end URL after switch language

from: enter image description here

to

domainname.com /pl/

Any solution ?

¿Fue útil?

Solución

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

Otros consejos

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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top