Magento 2 module for hide Default Store Code from URL.
https://bender.kr.ua/howto-hide-default-store-code-from-url-magento-2/
- Download ZIP file and extract to app/code/Noon/HideDefaultStoreCode. If this path not exists, please create under Magento2 root directory.
- Run the command in Magento2 root directory:
php bin/magento setup:upgrade
- Run the command in Magento2 root directory:
composer require noon/hide-default-store-code
php bin/magento setup:upgrade
Stores > Configuration > General > Web > Url Options > Hide Default Store Code
Stores > Configuration > General > Web > Url Options > Auto-redirect to URL without Store Code