using Magento 2.2.2, I have a store with two views English and French,
I want to make urls looks like
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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