PHPackages                             customgento/module-default-store-code-remover-m2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. customgento/module-default-store-code-remover-m2

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

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.

v3.1.0(1mo ago)2744.1k↓26.2%61OSL-3.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0CI passing

Since Sep 25Pushed 9mo ago4 watchersCompare

[ Source](https://github.com/customgento/module-default-store-code-remover-m2)[ Packagist](https://packagist.org/packages/customgento/module-default-store-code-remover-m2)[ GitHub Sponsors](https://github.com/customgento)[ RSS](/packages/customgento-module-default-store-code-remover-m2/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (8)Dependencies (2)Versions (14)Used By (1)

Default Store Code Remover for Magento 2
========================================

[](#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
------------

[](#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
-------

[](#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 &gt; Configuration &gt; General &gt; Web &gt;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
-------

[](#license)

[OSL - Open Software Licence 3.0](https://opensource.org/licenses/osl-3.0.php)

Copyright
---------

[](#copyright)

© 2021 - present CustomGento GmbH

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance73

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 55.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~227 days

Recently: every ~175 days

Total

10

Last Release

34d ago

Major Versions

v1.0.6 → v2.0.02025-09-09

v2.0.0 → 3.0.02026-04-24

PHP version history (7 changes)1.0.0PHP ~7.2.0||~7.3.0||~7.4.0

1.0.1PHP ~7.3.0||~7.4.0||~8.1.0

v1.0.2PHP ~7.3.0||~7.4.0||~8.1.0||~8.2.0

v1.0.4PHP ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0

v1.0.6PHP ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0

3.0.0PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

v3.1.0PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb85d8f7d2571d1c913f90b0a4a832eec0c88e8522ec915d5ffe9b92a4e397c8?d=identicon)[sprankhub](/maintainers/sprankhub)

---

Top Contributors

[![iranimij](https://avatars.githubusercontent.com/u/31434218?v=4)](https://github.com/iranimij "iranimij (19 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (10 commits)")[![norgeindian](https://avatars.githubusercontent.com/u/11156287?v=4)](https://github.com/norgeindian "norgeindian (4 commits)")[![annv99](https://avatars.githubusercontent.com/u/190375859?v=4)](https://github.com/annv99 "annv99 (1 commits)")

---

Tags

magentomagento2magento2-extensionmagento2-extension-freemagento2-module

### Embed Badge

![Health badge](/badges/customgento-module-default-store-code-remover-m2/health.svg)

```
[![Health](https://phpackages.com/badges/customgento-module-default-store-code-remover-m2/health.svg)](https://phpackages.com/packages/customgento-module-default-store-code-remover-m2)
```

###  Alternatives

[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282806.2k](/packages/baldwin-magento2-module-url-data-integrity-checker)[semaio/magento2-configimportexport

Import/Export core\_config\_data values in Magento 2

164768.0k3](/packages/semaio-magento2-configimportexport)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[firegento/magesetup2

MageSetup provides the necessary configuration (system config, tax, agreements, etc. for a national market.

121340.5k1](/packages/firegento-magesetup2)[fishpig/magento2-wordpress-integration

Securely integrate WordPress and Magento 2.

83363.7k5](/packages/fishpig-magento2-wordpress-integration)[smile/module-retailer

Smile Retailer Suite - Retailer Module

15536.9k7](/packages/smile-module-retailer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
