noon/hide-default-store-code

Magento 2 module for hide Default Store Code

1.0.6 2023-06-26 18:27 UTC

This package is auto-updated.

Last update: 2024-04-26 20:15:47 UTC


README

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