smaex/sitemap

This package is abandoned and no longer maintained. No replacement package was suggested.

Adds the home page to the XML sitemap in Magento 2.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

Type:magento2-module

1.0.0 2019-05-26 21:56 UTC

This package is auto-updated.

Last update: 2023-06-04 09:21:21 UTC


README

Adds the home page to the XML sitemap in Magento 2.

Intro

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.

Unfortunately, Magento also excludes so called utility CMS pages, including the home page, from the generated XML sitemaps, which is considered a big mistake among SEO experts.

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.

Screenshot: Magento admin interface for generating sitemaps.

How to install

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

How to use

The extension works pretty much out of the box without further configuration. However, it also provides a new system configuration for fine-tuning.

Screenshot: Magento admin interface for generating sitemaps.

We’re hiring!

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 j.scherbl@techdivision.com