[Issue] Do not use store code in URLs when site is in single store mode #36831
Labels
Area: SEO
Area: UI Framework
Component: Store
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Projects
This issue is automatically created based on existing pull request: #36414: Do not use store code in URLs when site is in single store mode
Description (*)
We have a store in single store mode. When we do setup:install, the config option
web/url/use_store
is enabled, which causes the store code to appear in the URL, even though there is only one storeview. This change makes sure the storecode does not appear in the URL when a store is in single store mode.Manual testing scenarios (*)
bin/magento config:set general/single_store_mode/enabled 1
) and enable store codes (bin/magento config:set web/url/use_store 1
)Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: