vladflonta / magento2-store-switcher-url-fix
Fixes the URL used for switching to a specific store view page for which a URL rewrite exists.
Installs: 485
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/module-url-rewrite: >=100.0.2
This package is auto-updated.
Last update: 2025-03-10 23:51:40 UTC
README
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
-
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
-
Enable module
bin/magento module:enable VladFlonta_StoreSwitcherUrlFix
bin/magento setup:upgrade
License
This project is licensed under the Open Software License (OSL 3.0)