Install
Works with Drupal: ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Security issues fixed
Release notes
All changes since 4.2.1
Bug fixes
#3340003: Accessibility: "Language is missing or invalid" in sitemap.xml XSL transform
#3480341: Include images settings on custom links not working
New features
#3033792: Provide more granular permissions
#3480057: Image support for Paragraph Library
#3351158: Add entity bundle to entity url generator meta info
Improvements
#3468413: Config entities shipped with simple_sitemap are missing certain fields, which makes them incompatible with recipes in certain situations
#3484114: Clean up UrlGenerator classes
#3445218: Add service aliases for public services
#3445246: Utilise service aliases for autowiring
#3487526: Use AutowireTrait where possible
#3489360: Use sitemap logger for exception logging
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.