customgento / module-default-store-code-remover-m2

customgento/module-default-store-code-remover-m2

Default Store Code Remover for Magento 2 hides the store code in the default store from the URL.

  • Team CustomGento
magento2-module Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending OSL-3.0
Viewing version 1.0.6. Latest version is 3.1.0. Switch to latest

Default Store Code Remover for Magento 2

Default Store Code Remover for Magento 2 hides the store code in the default store from the URL. The module is in effect only when web/url/use_store is enabled and is meant to be used for multistore setups, where the default shop should not contain any store code, whereas all other stores should.

Installation

  • composer require customgento/module-default-store-code-remover-m2
  • bin/magento module:enable CustomGento_DefaultStoreCodeRemover
  • bin/magento setup:upgrade
  • bin/magento cache:flush
  • bin/magento setup:di:compile

Example

When the store codes in the url are disabled, the URL of the stores looks like this: https://website.com/.

When the store codes in the url are enabled, the URL of the stores looks like this: https://website.com/store_code/.

When this extension is installed and enabled, and the store codes are enabled to be shown in the url under
Store > Configuration > General > Web >Add Store Code, the module will not show the store code for the default store
but will show it for any other store.

So, for the default store the url will be https://website.com/ while for all other store, the URL will be : https://website.com/store_code

License

OSL - Open Software Licence 3.0

Copyright

© 2021 - present CustomGento GmbH

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
3.1.0 stable Fail Magento 2.4.7-2.4.9 Details 2026-05-06 07:11:59
3.0.0 stable Not tested Not yet tested Details 2026-04-24 09:26:19
2.0.0 stable Not tested Not yet tested Details 2025-09-09 12:54:20
1.0.6 stable Not tested Not yet tested Details 2025-05-27 12:40:42
1.0.5 stable Not tested Not yet tested Details 2024-06-03 11:27:35
1.0.4 stable Not tested Not yet tested Details 2024-05-26 19:46:28
1.0.3 stable Not tested Not yet tested Details 2024-01-26 14:42:08
1.0.2 stable Not tested Not yet tested Details 2023-06-19 12:20:19
1.0.1 stable Not tested Not yet tested Details 2022-05-04 11:08:42
1.0.0 stable Not tested Not yet tested Details 2020-09-28 13:13:15

Requires 2

Package Constraint
php ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
magento/module-store ~101.0

No QA results yet

QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.

License
OSL-3.0
Authors

More from customgento

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.