{"id":24066170,"url":"https://github.com/opengento/magento2-store-path-url","last_synced_at":"2025-04-23T21:03:58.373Z","repository":{"id":227893004,"uuid":"772266881","full_name":"opengento/magento2-store-path-url","owner":"opengento","description":"This module allows to override the store code in url with an other path value.","archived":false,"fork":false,"pushed_at":"2025-04-11T20:37:28.000Z","size":75,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-23T21:03:57.005Z","etag":null,"topics":["adobe-commerce","adobe-commerce-extension","adobecommerce","baseurl","baseurl-domain","magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","storefront","url"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opengento.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://www.helloasso.com/associations/opengento/formulaires/1"]}},"created_at":"2024-03-14T21:18:42.000Z","updated_at":"2025-04-11T20:35:51.000Z","dependencies_parsed_at":"2024-04-12T14:57:10.449Z","dependency_job_id":"0cd39d3f-a508-4b88-b2ec-f229f746f28b","html_url":"https://github.com/opengento/magento2-store-path-url","commit_stats":null,"previous_names":["opengento/magento2-store-path-url"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-store-path-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-store-path-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-store-path-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengento%2Fmagento2-store-path-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opengento","download_url":"https://codeload.github.com/opengento/magento2-store-path-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514782,"owners_count":21443208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adobe-commerce","adobe-commerce-extension","adobecommerce","baseurl","baseurl-domain","magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","storefront","url"],"created_at":"2025-01-09T11:20:02.228Z","updated_at":"2025-04-23T21:03:58.325Z","avatar_url":"https://github.com/opengento.png","language":"PHP","funding_links":["https://www.helloasso.com/associations/opengento/formulaires/1"],"categories":[],"sub_categories":[],"readme":"# Store Path Url Module for Magento 2\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/opengento/module-store-path-url.svg?style=flat-square)](https://packagist.org/packages/opengento/module-store-path-url)\n[![License: MIT](https://img.shields.io/github/license/opengento/magento2-store-path-url.svg?style=flat-square)](./LICENSE) \n[![Packagist](https://img.shields.io/packagist/dt/opengento/module-store-path-url.svg?style=flat-square)](https://packagist.org/packages/opengento/module-store-path-url/stats)\n[![Packagist](https://img.shields.io/packagist/dm/opengento/module-store-path-url.svg?style=flat-square)](https://packagist.org/packages/opengento/module-store-path-url/stats)\n\nThis module allows to override the store code in url with another path value.\n\n - [Setup](#setup)\n   - [Composer installation](#composer-installation)\n   - [Setup the module](#setup-the-module)\n - [Features](#features)\n - [Settings](#settings)\n - [Documentation](#documentation)\n - [Support](#support)\n - [Authors](#authors)\n - [License](#license)\n\n## Setup\n\nMagento 2 Open Source or Commerce edition is required.\n\n### Composer installation\n\nRun the following composer command:\n\n```\ncomposer require opengento/module-store-path-url\n```\n\n### Setup the module\n\nRun the following magento command:\n\n```\nbin/magento setup:upgrade\n```\n\n**If you are in production mode, do not forget to recompile and redeploy the static resources.**\n\n## Features\n\nThe module allows to replace the store code in url with the following options:  \n\n- Country Code, e.g: be\n- Language Code, e.g: fr\n- Locale Code (separated with a hyphen), e.g: fr-be\n- Locale Code (separated with an underscore), e.g: fr_be\n- Custom (you can setup the path of your choice), e.g: emea\n\nThis 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.  \n\nBesides 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\".\n\n## Settings\n\nThe configuration for this module is available in `Stores \u003e Configuration \u003e Web \u003e Url`.  \n\n## Documentation\n\nIn order to use this module, you must enable the following setting: \"Add Store Code to Urls\" (`web/url/use_store`).  \nA new field is added in the configuration: \"Store Path Url\" and \"Custom Path Mapper\" if the \"custom\" value is selected.  \nThe store path config are:  \n\n- `web/url/store_path_url`\n- `web/url/custom_path_mapper`\n- `unset_single_store_path`\n- `base_url_resolver`\n\n## Support\n\nRaise a new [request](https://github.com/opengento/magento2-store-path-url/issues) to the issue tracker.\n\n## Authors\n\n- **Opengento Community** - *Lead* - [![Twitter Follow](https://img.shields.io/twitter/follow/opengento.svg?style=social)](https://twitter.com/opengento)\n- **Thomas Klein** - *Maintainer* - [![GitHub followers](https://img.shields.io/github/followers/thomas-kl1.svg?style=social)](https://github.com/thomas-kl1)\n- **Contributors** - *Contributor* - [![GitHub contributors](https://img.shields.io/github/contributors/opengento/magento2-store-path-url.svg?style=flat-square)](https://github.com/opengento/magento2-store-path-url/graphs/contributors)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.\n\n***That's all folks!***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengento%2Fmagento2-store-path-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopengento%2Fmagento2-store-path-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengento%2Fmagento2-store-path-url/lists"}