Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After Microsoft decided to silently kill the sitemap ping API and instead use the new indexNow protocol, I figured the search engines submodule should support it.
4.1.x adds support for IndexNow, converts the existing Bing search engine entity to use it and adds new entities (Yandex and IndexNow).
If you had the simple_sitemap_engines submodule submit the default XML sitemap to Bing, the update hooks will make sure to enable submitting the corresponding entities to IndexNow on every entity form save (don't worry, given the right permission, this can be overridden before submitting the form).
You will have to generate a new verification key on your production sites - just head to the status page (admin/reports/status), or directly to admin/config/search/simplesitemap/engines/settings for guidance.
For more information on this release as well as on IndexNow, see this post.
After Microsoft decided to silently kill the sitemap ping API and instead use the new indexNow protocol, I figured the search engines submodule should support it.
This minor release adds support for IndexNow, converts the existing Bing search engine entity to use it and adds new entities (Yandex and IndexNow).
If you had the simple_sitemap_engines submodule submit the default XML sitemap to Bing, the update hooks will make sure to enable submitting the corresponding entities to IndexNow on every entity form save (don't worry, given the right permission, this can be overridden before submitting the form).
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.
I encourage everyone to use this over 3.x. If you rely on the deprecated 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. New features are only coming to 4.x.
Major rewrite of the module. 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.
This is already stable and I would appreciate everyone, who doesn't depend on the module API to use it immediately! For those of you who rely on the API: it may slightly change until the stable release, so don't build your code around it quite yet.
3.x won't be getting any new features. The development is focused on 4.x which is stable. Please use that instead! See #3219383: Roadmap for 4.x. An upgrade path from 3.x and 2.x is provided.
This is already stable and I would appreciate everyone, who doesn't depend on the module API to use it immediately! For those of you who rely on the API: it will change until the stable release, so don't build your code around it quite yet.
This is already stable and I would appreciate everyone, who doesn't depend on the module API to use it immediately! For those of you who rely on the API: it will change until the stable release, so don't build your code around it quite yet.
This is already stable and I would appreciate everyone, who doesn't depend on the module API to use it immediately! For those of you who rely on the API: it will change until the stable release, so don't build your code around it quite yet.
There have been substantial sitemap generation performance gains. Depending on the site's size and configuration, the generation will take 5 to 10 times less time than before. We recommend testing generation performance and readjusting the settings.
There is now a new performance test script for performance metrics & debugging; see the module's readme file for more details.
The 8.x-3.x release allows not only for customizing the URL generation through UrlGenerator plugins as 2.x does, but also creating multiple custom sitemap types through sitemapGenerator plugins and running all the sitemaps on the same Drupal instance. Now e.g a Google news sitemap can be added to a Drupal instance. This is possible through the new concept of sitemap variants.
The 8.x-3.x release allows not only for customizing the URL generation through UrlGenerator plugins as 2.x does, but also creating multiple custom sitemap types through sitemapGenerator plugins and running all the sitemaps on the same Drupal instance. Now e.g a Google news sitemap can be added to a Drupal instance. This is possible through the new concept of sitemap variants.
The 8.x-3.x release allows not only for customizing the URL generation through UrlGenerator plugins as 2.x does, but also creating multiple custom sitemap types through sitemapGenerator plugins and running all the sitemaps on the same Drupal instance. Now e.g a Google news sitemap can be added to a Drupal instance. This is possible through the new concept of sitemap variants.
The 8.x-3.x release allows not only for customizing the URL generation through UrlGenerator plugins as 2.x does, but also creating multiple custom sitemap types through sitemapGenerator plugins and running all the sitemaps on the same Drupal instance. Now e.g a Google news sitemap can be added to a Drupal instance. This is possible through the new concept of sitemap variants.
In #2923551: Make generators pluggable through plugins the URL generator have been refactored into plugins. It is now possible to create new generators or alter existing ones through the new hook hook_simple_sitemap_url_generators_alter(&$generators). See module documentation and gbyte.co/projects/simple-sitemap for more details.
simple_sitemap.generator service's API methods:
Entity overrides are now stored in the database and not in configuration. simple_sitemap.settings config has been split into simple_sitemap.settings and simple_sitemap.bundle_settings.*.*. All of the changes above should not hurt too much if the module's API methods are used.
SEO improvements
The generated sitemap now shows all translation variants of an entity as locations and each location now references all translation variants as alternate links, according to Google's standard. This heavily increases the size of the XML output but should improve crawling.
Fix regression introduced in 8.x-2.4 which prevented from excluding content which has been included once.
Changes from 8.x-2.4
Now supporting potentially all content entity types including contributed ones like commerce_product, or media.
Link generating plugins are not needed anymore and have been removed.
Batch integration
The 2.x branch features batch integration and makes it possible to generate huge amounts of links without hitting php memory or timeout limits. Batch works through the Drupal UI as well as through drush via the 'simple_sitemap-generate' command.
Module renamed
The module has been renamed from simplesitemap to simple_sitemap to adhere to Drupal guidelines (see issue #2652392) Therefore there is no upgrade path between the versions 1.x and 2.x.
This is a *hotfix* from v1.10: making sitemap accessible.
v1.10: New:
- Added drush support with command 'drush simplesitemap-generate'
- Added ability to disable cron sitemap generation.
- Added php plugin requirement checking.
- Added status reports on admin/reports/status.
- Added some javascript form magic including tab summary and dynamic field hiding.