Module Description
Logs the http status for each sitemap location in the status report and adds an entry to the Toolbar. Optionally checks for errors or specific elements in the DOM.

Use case: while doing a deployment (production or pull request based environment), be able to check the status of each page from the sitemap based on a production database. As unit/E2E tests might contain testing gaps and/or possibly not catch "content based" issues (like redirects/aliases), this can be used as an affordable smoke test.



Status check Toolbar result Executed by default 5xx http status ❌ Yes DOM error ❌ Optional DOM missing element ❌ Optional 4xx http status ⚠️ Yes 3xx, 2xx http status ✅ Yes Unreachable ℹ Yes Not checked yet ❓ n/a Dependencies
* Simple XML Sitemap
* curl and libxml PHP extensions

Configuration Can be used without any configuration via drush.

Optional configuration for UI or cron based checks: Configuration > Development > Sitemap status (/admin/config/development/sitemap-status).

Drush can be used on build e.g. within a post-rollout task. Example: generate the sitemap then run the check.

- run: name: drush ssg command: drush simple-sitemap:generate service: cli - run: name: drush ssc command: drush sitemap-status:check service: cli Usage and roadmap drush sitemap-status:check (alias: drush ssc)

For drush options and the roadmap view the project readme.

Project Usage
99
Creation Date
Changed Date
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of easily checking the http status of each page from a sitemap during deployments, with optional checks for errors or specific elements in the DOM.
Data Name
sitemap_status

OPENAI CHATBOT

OPENAI CHATBOT

14:38:00
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.