Adds the home page to the XML sitemap in Magento 2.
Providing search engines with a sitemap in a machine readable format is a SEO best practice for many years now, and Magento already offers such functionality out of the box.
This extension explicitly adds the store’s home page when generating an XML sitemap, using the store’s base URL as configured. On a side note, the home page can be accessed with and without its URL key in Magento, so the extension also adds a canonical tag to the home page to avoid duplicate pages.
Simply require the extension via Composer.
$ composer require smaex/sitemap ^1.0
Finally, enable the module via Magento’s CLI.
$ magento module:enable Smaex_Sitemap
The extension works pretty much out of the box without further configuration. However, it also provides a new system configuration for fine-tuning.
We’re currently looking for interested ~~masochists~~ PHP & Magento developers to join our small, friendly and experienced Magento Team in Munich. Just drop me a line via [email protected]