Skip to content

alex-79/magento2-hide-default-store-code-from-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HideDefaultStoreCode

Magento 2 module for hide Default Store Code from URL.

https://bender.kr.ua/howto-hide-default-store-code-from-url-magento-2/

howto-hide-default-store-code-from-url-magento-2


INSTALLATION

manual

  1. Download ZIP file and extract to app/code/Noon/HideDefaultStoreCode. If this path not exists, please create under Magento2 root directory.
  2. Run the command in Magento2 root directory:
php bin/magento setup:upgrade

composer

  1. 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


Buy Me A Coffee