Every webpage needs an automatic XML sitemap generator for SEO reasons. Sitemaps generated by this module adhere to the new Google standard regarding multilingual content by creating hreflang sitemaps and image sitemaps - Googlebots will thank you later.

In addition to the default hreflang sitemaps, the module's API allows creating and publishing of custom sitemaps with arbitrary content, as well as submitting those sitemaps to search engines like Google. For instant indexation of content, the IndexNow protocol (supported by Bing and Yandex) has been implemented in 4.x (simple_sitemap_engines submodule).

Overview

The module generates multilingual sitemaps for entities, views and custom links. Out of the box it supports most of Drupal's content entity types including:

  • nodes
  • taxonomy terms
  • menu links
  • users
  • ...

Contributed entity types like commerce products can be indexed as well. Various inclusion settings can be set for bundles and overridden on a per-entity basis. Sitemap generation can be altered through custom URL & sitemap generator plugins and hooks. Sitemaps can be automatically submitted to search engines, content changes can also be directly submitted via the IndexNow integration.

Here is a sample of the markup it generates (press ctrl+u to view the source).

Functionality

  • Ability to create any type of sitemap via plugins
  • Ability to create a sitemap index of other sitemaps
  • Periodic submission to search engines
  • Submission to IndexNow on content changes
  • Views and views arguments support
  • XSL stylesheets for human visitors
  • Performance test script included

4.x

Module rewrite with developers/integrators in mind

4.x makes much greater use of Drupal's entity API dropping some of its very specific chaining API. See #3219383: Roadmap for 4.x. See these posts for more details on the 4.x branch.

Should you use this over 3.x?

Yes. 3.x has is not supported.

Upgrade path

Please do not forget to run drush updb or update.php after every update. If you get an error, run core/rebuild.php before the above.

You can upgrade from any 8.x-2.x or 8.x-3.x verison to 4.x. Keep in mind, the module APIs change between major releases.

Other

Similar modules: XML Sitemap was the de facto XML sitemap generator prior to Drupal 8 and a stable version for D8 has just been released.

If you would like to say thanks and support the development of this module, a donation will be much appreciated.

Supporting organizations: 
Responsible for creation and maintainership of the project.
Responsible for code contribution and maintainership of the project.

Project information

Releases