M2: How to change URL after switch language
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