I would like to remove the default store view code from the URL in Magento 2.1. How can I do this?
You can add/remove store code from url same like magento 1. Follow below step:
- Goto magento admin
- Stores-> COnfigurations from Main menu
- In the General section right side you can see Web Tab
- In the Web tab there is field Add Store Code to Urls You can select suitable option for you from here. see below image.