Hide Default Store Code
noon/hide-default-store-code
Removes the default store code from URLs in Magento 2. Simplifies URLs and can improve SEO by avoiding duplicate content.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubHideDefaultStoreCode
Magento 2 module for hide Default Store Code from URL.
https://bender.kr.ua/howto-hide-default-store-code-from-url-magento-2/

INSTALLATION
manual
- 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
composer
- Run the command in Magento2 root directory:
composer require noon/hide-default-store-code
php bin/magento setup:upgrade
CONFIGURATION
ENABLE/DISABLE
Stores > Configuration > General > Web > Url Options > Hide Default Store Code
REDIRECT
Stores > Configuration > General > Web > Url Options > Auto-redirect to URL without Store Code
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.