This module automatically generates XML sitemaps for your website, including support for multilingual content and images, to improve SEO. It can index various content types, custom links, and provides options for automatic submission to search engines, with integration for the IndexNow protocol for instant content indexing. The module also allows for custom sitemap creation and submission through its API.
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.
Ask your assistant about Simple XML sitemap
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
16 tracked projects depend on this one
- Acquia Drupal Starter Kit Common 1,823 sites
- Droopler 233 sites
- Simple XML sitemap exclude 213 sites
- Seeds SEO 126 sites
- Seeds Page 119 sites
- Simple XML Sitemap Auth 54 sites
- Simple XML sitemap arbitrary links 33 sites
- Simple Sitemap Extensions 28 sites
- Small Y 21 sites
- AI LLMs.txt Generator 16 sites
- Simple XML sitemap Page Manager 15 sites
- Simple XML sitemap DiWoo 10 sites
- DiBa Integration 9 sites
- Entity Clone Simple Sitemap 6 sites
- Simple sitemap pagination url 6 sites
- CS Gov
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 4.2.3 | Stable | 10–11 | Nov 26, 2025 | ||
| 4.2.2 | Stable | 10–11 | Nov 24, 2024 | ||
| 4.2.1 | Stable | 10–11 | Aug 16, 2024 | ||
| 4.1.9 | Stable | 9–10 | Apr 6, 2024 | ||
| 4.1.8 | Stable | 9–10 | Dec 18, 2023 | ||
| 4.1.7 | Stable | 9–10 | Nov 2, 2023 | ||
| 4.1.6 | Stable | 9–10 | Jun 9, 2023 | ||
| 4.1.5 | Stable | 9–10 | Jun 8, 2023 | ||
| 4.1.4 | Stable | 9–10 | Jan 20, 2023 |