The Simple XML Sitemap module was originally created by gbyte as a temporary replacement for the non-functioning Drupal 8 XML Sitemamp Module. After putting some more work into it however, we decided to keep using it in our D8 projects, as it is very lightweight, simple to use and most importandly, adheres to a newer xml sitemap standard.
The new 2.x branch features most of the functionality of the heavier XML Sitemap module while also featuring hreflang XML sitemaps, which is a new Google standard for creating multilingual XML sitemaps that should improve SEO even more.
Here is the description from the module page:
Every webpage needs an automatic XML sitemap generator for SEO reasons. This module aims to be a replacement for the xmlsitemap module for Drupal 8.
Simple xml sitemap is lighter than xmlsitemap in terms of resources and usability. Its functionality differs from xmlsitemap, see this post for details.
Sitemaps generated by this module adhere to the new Google standard regarding multilingual content by creating hreflang sitemaps. Googlebots will thank you later.
Please do not forget to run update.php after every update.
Branch 8.x-1.x is no longer supported. As there is no upgrade path between major releases, please uninstall 8.x-1.x before installing 8.x-2.x.
The module generates a multilingual sitemap for entities and custom links. Out of the box it supports most of Drupal's content entity types including:
- taxonomy terms
- menu links
Contributed entity types like commerce products or media can be indexed as well. Inclusion and priority settings can be set for bundles and overridden on a per-entity basis.
Here is a sample of the XML markup it generates. Do not forget to view the page source (ctrl+u).
Feel free to grab the module from the module page.
If you are unsure whether to get simple_sitemap or xmlsitemap, check out this comparison on the two modules.