The “Retail Store” module gives every branch its own detail page. To get these pages found by search engines, they should be listed in the sitemap. This module adds all active retail stores to the XML sitemap that Magento generates, and also to the sitemap generated by the Infrangible “Sitemap” module.
Features
- Adds the detail pages of all active retail stores to Magento’s XML sitemap, with the date of the last change.
- Adds the retail stores to the sitemap of the Infrangible “Sitemap” module as well.
- Adjustable change frequency and priority for the store pages.
- New “Sitemap” section with the option “Exclude from Sitemap” in the retail store edit form, to leave out single stores.
Configuration
- Magento XML sitemap: Stores > Configuration > Catalog > XML Sitemap > Retail Store, with “Export” (default “Yes”), “Frequency” (default monthly) and “Priority” (default 1.0).
- Infrangible sitemap: Stores > Configuration > Infrangible Solutions > Sitemap > Retail Store, with “Export”, “Change Frequency” and “Priority”.
- Single stores: Infrangible > Retail Store > Manage Retail Stores, edit a store and set “Exclude from Sitemap” to “Yes”.
Good to know
Requires “Retail Store” and “Sitemap”, which are installed automatically.
Installation
Install the module with Composer in your Magento root directory:
composer require infrangible/m2-retail-store-sitemapThen enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.