PHPackages                             vladflonta/magento2-store-switcher-url-fix - 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. vladflonta/magento2-store-switcher-url-fix

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

vladflonta/magento2-store-switcher-url-fix
==========================================

Fixes the URL used for switching to a specific store view page for which a URL rewrite exists.

1.0.0(8y ago)2485OSL-3.0PHP

Since Mar 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vladflonta/magento2-store-switcher-url-fix)[ Packagist](https://packagist.org/packages/vladflonta/magento2-store-switcher-url-fix)[ RSS](/packages/vladflonta-magento2-store-switcher-url-fix/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

Magento 2 Store Switcher URL Fix
================================

[](#magento-2-store-switcher-url-fix)

Fixes the URL used for switching to a specific store view page for which a URL rewrite exists. The issue can be observed for URLs which have an even number of segments greater than 3 - excluding the store code segment if present (e.g. `http://example.com/en/shop/with/multilevel/categories.html` would throw a 404 error when switching to a different store view).

Installation steps
------------------

[](#installation-steps)

1. Get the module via composer

    ```
    composer require "vladflonta/magento2-store-switcher-url-fix":"~1.0"

    ```

    or via git

    ```
    git clone https://github.com/vladflonta/magento2-store-switcher-url-fix app/code/VladFlonta/StoreSwitcherUrlFix

    ```
2. Enable module

```
bin/magento module:enable VladFlonta_StoreSwitcherUrlFix
bin/magento setup:upgrade

```

License
-------

[](#license)

This project is licensed under the [Open Software License (OSL 3.0)](http://opensource.org/licenses/osl-3.0.php)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40deadbfdb688b2dc7e6e4a3feb02098fc4a772d0e129411afa512dfb9193029?d=identicon)[vladflonta](/maintainers/vladflonta)

---

Top Contributors

[![vladflonta](https://avatars.githubusercontent.com/u/5329633?v=4)](https://github.com/vladflonta "vladflonta (1 commits)")

---

Tags

magento2-module

### Embed Badge

![Health badge](/badges/vladflonta-magento2-store-switcher-url-fix/health.svg)

```
[![Health](https://phpackages.com/badges/vladflonta-magento2-store-switcher-url-fix/health.svg)](https://phpackages.com/packages/vladflonta-magento2-store-switcher-url-fix)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2832.5M](/packages/elgentos-regenerate-catalog-urls)[faonni/module-indexer-url-rewrite

Extension rebuild UrlRewrite index.

4072.4k](/packages/faonni-module-indexer-url-rewrite)

PHPackages © 2026

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