using Magento 2.2.2, I have a store with two views English and French,

I want to make urls looks like

domain.com/en/product1 domain.com/fr/category1




In Admin -> Store -> All Stores, make sure the store view codes are set as English = en and French = fr.

And in Admin -> Store -> Configuration -> General -> Web -> URL Options -> Add store code to URLs

  • works thank You – CDzWebDev Jan 23 '18 at 22:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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