experius / module-multiplewebsitestorecodeurl
This module enabled you to use the same store_code multiple times for different websites in the url.
Installs: 7 884
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 7
Forks: 8
Open Issues: 7
README
This module enabled you to use the same store_code multiple times for different websites in the url by removing the website_code from the store_code before adding it to the url. So "example.com/website_en/", will become "example.com/en/".
The module has configuration to enable/disable it in the web/url section.
Important: the store code should include the website code otherwise it won't do anything.
Configuration
In order for direct links to work, you must set base urls on website level.
In "Stores -> Configuration -> General -> Web -> Base Urls", "web/unsecure/base_url" or "web/secure/base_url" or both must be filled. The values must be present at website level.
Changelog:
- 2.0.0 added compatibility for magento 2.3.*.
- 2.0.1 fixed issues with not being able to navigate on a not default store + fixed storeswitcher url redirect