Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 128.76 KB
MD5: d1dc72ab246a5dbc50ad4ba58ef8eb4f
SHA-1: cf715e7f1e3ceb7940f74a5913e643fec1fe455b
SHA-256: 1ce12e30913c52bd74e5585fd590644f6487e6b87d55fabbe996a88142cf991f
Download zip 220.16 KB
MD5: 884d1198410ed88e9829264b02a28bd4
SHA-1: 08e87178a35fe2a89202d2423f3de1656e1e814a
SHA-256: 9abc3688711802591205a0124ef03a89b8ae39a792571700796c7144a2dd7502

Release notes

All changes since 4.2.2

Bug fixes

#3492341: Infinite loop inside getEntityImageData
#3507718: Error on installing / enabling simple_sitemap in D11
#3554196: Non-Ascii Characters In Request Variant Cause Exception

New features

#3129303: Allow to alter entity url generator query
#3426492: Support path aliasing for sitmemap paths
#3087347: Act on an entity before it is processed

Improvements

#3180534: Path processors too greedy with URLs ending with sitemap.xml
#3377668: Use PascalCase for class names
#3458079: Sitemap doesn't include product variation
#3505588: [Feature Request] - If no image alt is present look for description instead
#3199996: [PP-1] Set the Last-Modified HTTP response header for sitemaps
#3349704: Shift entity access checks from queue to generation
#3518739: Entity access check results can cause memory exhaustion during sitemap generation
#3496884: EntityHelper::getEntityBundle can sometimes return NULL despite typing
#3542619: Do not use Drupal Core's version for libraries

Notable changes since 3.x

4.x is a major rewrite of the module. It makes greater use of Drupal's entity API dropping some of its very specific chaining API. See #3219383: Roadmap for 4.x.

3.x is now unsupported, so do use 4.x. If you still rely on the 3.x API, you may need to adjust a couple of method calls. See readme for basic API usage instructions and check out code documentation.

#3256453: Add IndexNow capability to search engine integration
#3219389: Allow creating sitemap types via UI
#3245449: Simplify & clean up API
#3219385: Convert sitemap variants to proper configuration entities
#3219386: Convert sitemap types to proper configuration entities
#3220168: Improve decoupling of storage
#3219388: Decoupling of custom link & entity URL generating functionality
#3027987: Throw and Catch exceptions in API
#3269333: Add ability to disable sitemap variants
#3265009: Add support for Drupal 10
#3109090: Sitemap variant index functionality
#3077861: Support adding specific custom links on a per sitemap basis via UI
#3152961: Image support for Paragraphs & Media

Upgrade path

Upgrade path from 3.x and 2.x for regular users is available.

If you have extended this module by using its API, you will most probably have to adapt that functionality to the new (cleaner) API. If you are using 3rd party contributed simple_sitemap submodules, you may find they are not ported to 4.x yet and will stop working. In this case, please open up issues in the respective queues.

Visit this resource for more information about this project.

Created by: gbyte
Created on: 26 Nov 2025 at 08:54 UTC
Last updated: 26 Nov 2025 at 08:54 UTC
Bug fixes
New features

Other releases