문제

I want to change end URL after switch language

from: enter image description here

to

domainname.com /pl/

Any 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

다른 팁

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top