Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

XMLSitemap Path Exclude

3 sites No security coverage Drupal 10–11
View on drupal.org

This module allows you to exclude specific website paths from your XML sitemap using regular expression patterns. It provides an easy way to prevent certain pages, like error pages or temporary content, from being included in search engine crawls.

XML Sitemap Path Exclude

A Drupal module that allows you to exclude specific paths from the XML sitemap using regular expression patterns.

Overview

XML Sitemap Path Exclude extends the functionality of the XML Sitemap module by enabling administrators to define patterns for paths that should be excluded from the generated sitemap.

This is particularly useful for removing:

Error pages (e.g., /page-not-found)
Access-restricted pages
Temporary or campaign-specific URLs
Dynamically generated content you don’t want indexed

Features
Exclude URLs using regex patterns
Works with path aliases (user-friendly URLs)
Integrates directly with sitemap generation
Admin UI for easy configuration
Validation for regex inputs
Debug logging for troubleshooting

Requirements
Drupal 10 or 11
XML Sitemap module

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Apr 17, 2026