Simple XML sitemap

Project type
Drupal contributed module
Technology
Drupal 8
Drupal 9
About the project

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.1.

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
  • 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

Posts about this project

15 Feb 2022

Index Drupal 9 pages with IndexNow using Simple XML sitemap

Bing 410 Gone

Microsoft recently killed their search engine's public API responsible for accepting sitemap ping requests (those where you let search engines know your XML sitemap's content has changed). They did so completely unannounced leading to logs filling up and users unsurprisingly assuming their sitemap submitting code was somehow at fault. It wasn't.

24 Nov 2021

Simple XML Sitemap 4.0.0 has been released!

After six months of work I'm delighted to tag the first stable release of the 4.x branch of the (Not-so-) Simple XML Sitemap module.

The project is in a really good place right now. At the moment of writing, drupal.org reports it being actively used on around 90k of Drupal 8/9 websites while having 0 open bug reports. This either means you people are lousy bug reporters, or we are doing a descent job at responding. :)

Get a quote in 24 hours

Wether a huge commerce system, or a small business website, we will quote the project within 24h of you pressing the following button: Get quote