Overview
Back to topIn order to get closer to users, large web stores usually support several store views in different languages. By default in Magento, the same URL can display the page with different locale interfaces which are, obviously, a bad thing for search engines and SEO. Using separate domain names does not always suit shop owners and, to say more, is not worth it.
Alternatively, it is possible, and even recommended, to use the Magento default feature activated by the setting "Add Store Code to URLs". However, there is a downside: the scope of the setting is Global only. This means there’s no way to selectively exclude default store code from URL as well as any other store view codes. As a result, the website gets duplicates and an unsightly URL for the default store view.
Any means one can find on the internet to address the issue are complex to implement, not guaranteed to work properly, and involve interference in the server’s regular workflow (a workaround). Taking into account the problem surfaced and having bumped into some serious bugs in Magento 2 itself, we've developed a solution easy to implement and working properly. The extension enables admin to enable "Add Store Code to Urls" under specific Scope. Instead of Global, you should see Store View. Bang! All set? Time to check it out!
Functions:
- A fix for the annoying issue with the default store switcher: whenever you switch the store with help of the built-in store switcher, the module keeps the complete URL and doesn't redirect you to the home page;
- A fix for another issue with the store switcher when switching back to the default store view;
- Automatic redirects to proper URL: no worries about the website's old links, ones like www.example.com/default/product.html, remaining in Google search results or some other resources if you turned off the store code for the given store.
- The extension automatically manages 301 redirects so that a user gets to a proper URL without /default/ -> www.example.com/product.html
Features:
- Enables a store code in URL only for selected store view
- Provides full and correct technical integration
- Doesn't require any special server tune-up
- Keeps the initial URL when switching stores via the store switcher, without redirecting to the home page
- Addresses an issue with the store switcher when switching back to default store view
- Automatically performs redirects if the URL entered contains the store code but the store code setting is off
Demo:
Technical Specifications
Back to topSeller profile
Seller contact
Current Version
2.1.10
Adobe Commerce platform compatibility
Open Source (CE): 2.4 (current), 2.0 (obsolete), 2.1 (obsolete), 2.2 (obsolete), 2.3 (obsolete)
Commerce on prem (EE): 2.4 (current), 2.3 (obsolete)
Commerce on Cloud (ECE): 2.4 (current), 2.3 (obsolete)
Type
Stable Build
Updated
07 July, 2022
Categories
Extensions, Content & Customizations, Translations & Localization
Quality Report
Back to topAll tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.
Release Notes
Back to top2.1.10:
- Compatible with Open Source (CE) : 2.3 2.4
- Compatible with Commerce on prem (EE) : 2.3 2.4
- Compatible with Commerce on Cloud (ECE) : 2.3 2.4
- Stability: Stable Build
-
Description:
• Added support for Magento 2.4.4;
• Implemented declarative schema.
2.1.9:
- Compatible with Open Source (CE) : 2.2 2.3 2.4
- Compatible with Commerce on prem (EE) : 2.3 2.4
- Compatible with Commerce on Cloud (ECE) : 2.3 2.4
- Stability: Stable Build
-
Description:
• Added support for M2.4;
• Minor code refactoring.
2.1.7:
- Compatible with Open Source (CE) : 2.1 2.2 2.3
- Stability: Stable Build
-
Description:
• Added support for Magento 2.3.5.
2.1.6:
- Compatible with Open Source (CE) : 2.1 2.2 2.3
- Stability: Stable Build
-
Description:
• Added support for Magento 2.3.3-2.3.4.
2.1.5:
- Compatible with Open Source (CE) : 2.1 2.2 2.3
- Stability: Stable Build
-
Description:
• Added support for Magento 2.3.1-2.3.2.
2.1.4:
- Compatible with Open Source (CE) : 2.1 2.2 2.3
- Stability: Stable Build
-
Description:
• Added support for Magento 2.3;
• Improved general support for Magento 2.1-2.3.
2.1.2:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
Addressed an issue while switching CMS pages;
Improved compatibility with Magento 2.1.x.
2.1.0:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
Added compatibility with Magento 2.1.10 / 2.2.x
2.0.0:
- Compatible with Open Source (CE) : 2.0 2.1
- Stability: Stable Build
-
Description:
Initial Release
Support
Back to topThe best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.
Contact Vendor