Simple Sitemap XML
This module automatically generates XML sitemaps from your Drupal content types or menus, helping search engines discover your content. It offers flexible configuration for content inclusion, priorities, and URL exclusions, providing a straightforward yet powerful SEO solution.
Simple Sitemap XML generates XML sitemaps automatically from your Drupal content types or menus, making it easy for search engines to discover and index your content. Perfect for site administrators who want a powerful yet straightforward SEO solution with flexible configuration options.
Features
- Content type-based generation: Creates sitemaps directly from selected content types (NEW in 1.1.0)
- Menu-based generation: Creates sitemaps from any Drupal menu (legacy support)
- Node status filtering: Include published, unpublished, or both types of nodes
- Enhanced priority assignment: Five modes including content type priorities and mixed strategies
- Individual node timestamps: Uses actual node changed dates for accurate lastmod values
- URL exclusion: Exclude specific URLs with wildcard pattern support
- Human-readable view: XSL styling makes sitemaps viewable in browsers
- Smart caching: 1-hour cache with automatic invalidation and mode-specific keys
- SEO optimized: Follows Google sitemap standards with enhanced metadata
Use this module when you need a reliable, feature-rich sitemap solution without the complexity of larger SEO suites. Ideal for any size site that wants effective search engine indexing with granular control over content inclusion and priorities.
Generation Modes
- Content Types (Default): Generate sitemaps from specific content types with full control over node status and priorities
- Menu-based (Legacy): Generate sitemaps from Drupal menus with hierarchical priority assignment
Priority Assignment
- Default: Same priority for all URLs
- Content Type: Priorities based on content type
- Menu Level: Automatic priority based on menu hierarchy depth
- Custom: Specific priorities for individual URLs
- Mixed: Combines content type, custom, and menu level priorities intelligently
Post-Installation
After installation, go to Configuration → Search and metadata → Simple Sitemap XML Settings. Choose your generation mode (content types or menu), select content types or menu, configure priority settings, and optionally exclude URLs. Your sitemap will be available at /sitemap.xml immediately.
Version 1.1.0 Updates
- New content type-based sitemap generation (now default)
- Node status filtering capabilities
- Enhanced priority system with content type support
- Individual node timestamps for better SEO
- Reorganized administration interface
- Full backward compatibility with existing configurations
Additional Requirements
Only requires Drupal core. No external libraries or APIs needed. Compatible with Drupal 9, 10, and 11.
Recommended modules/libraries
Works excellently with Metatag and Pathauto modules for comprehensive SEO functionality. The content type-based generation pairs particularly well with structured content workflows.
Similar projects
Unlike comprehensive SEO modules like XML Sitemap or Simple XML Sitemap, this module focuses specifically on flexible sitemap generation with both content type and menu-based approaches, offering more targeted control with minimal configuration overhead. Version 1.1.0 bridges the gap between simple menu-based solutions and complex SEO suites.
Depends on
Dependencies of the latest stable release
- menu_link_content Drupal core
- system Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 9–11 | Simple Sitemap XML 1.1.0 introduces content type-based sitemap generation with enhanced priority control and node status filtering. | Nov 7, 2025 | |
| 1.0.x-dev | Dev | 9–11 | Initial stable release of Simple Sitemap XML. Generate XML sitemaps from Drupal menus with priority assignment, URL exclusion, XSL styling, and smart caching. Lightweight SEO solution with minimal configuration. Compatible with Drupal 9/10/11. | Oct 21, 2025 |