Skip to content

Commit 81d1d62

Browse files
authored
Update documentation
1 parent 67312b1 commit 81d1d62

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ The module allows to replace the store code in url with the following options:
4949
- Locale Code (separated with an underscore), e.g: fr_be
5050
- Custom (you can setup the path of your choice), e.g: emea
5151

52-
Besides that, this module makes the usage of the MAGE_RUN_TYPE and MAGE_RUN_CODE variables optionals. Magento is going to be able to resolve the correct store based on its base web URL.
52+
This module also allows you to remove the store path in the url for websites with a single store view. This may be useful for stores with dedicated domains. This setting is automatically enabled if you choose to use the custom mapper. However, if a single store exists for a website, and a path is setup within the mapper, the path is not unset, meaning that the path configured in the mapper is used.
53+
54+
Besides that, this module makes the usage of the MAGE_RUN_TYPE and MAGE_RUN_CODE variables optionals. Magento is going to be able to resolve the correct store based on its base web URL. This setting can be disabled, see "Use Base Url Resolver".
5355

5456
## Settings
5557

@@ -58,11 +60,13 @@ The configuration for this module is available in `Stores > Configuration > Web
5860
## Documentation
5961

6062
In order to use this module, you must enable the following setting: "Add Store Code to Urls" (`web/url/use_store`).
61-
A new field is added in the configuration: "Custom Store Path Url" and "Custom Path Mapper" fi the "custom" value is selected.
63+
A new field is added in the configuration: "Store Path Url" and "Custom Path Mapper" if the "custom" value is selected.
6264
The store path config are:
6365

64-
- `web/url/use_store_path`
66+
- `web/url/store_path_url`
6567
- `web/url/custom_path_mapper`
68+
- `unset_single_store_path`
69+
- `base_url_resolver`
6670

6771
## Support
6872

0 commit comments

Comments
 (0)