Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module automatically splits large sitemaps into multiple physical XML files, rather than using query parameters, to ensure search engines can properly index all website pages. It also generates a sitemap index file that correctly references these individual sitemap files, resolving indexing errors for sites with many URLs.

According to Google’s documentation on large sitemaps, a sitemap file must adhere to certain size constraints:

  • Maximum of 50,000 URLs per sitemap, or
  • File size must not exceed 50MB (uncompressed).

When a website exceeds these limits, it's necessary to:

  1. Split the sitemap into multiple files.
  1. Use a sitemap index file to reference these multiple sitemaps.

Issue: Nested Indexing Error in Google Search Console
Problem observed:

  • Submitting the sitemap initially appears to work.
  • Upon inspecting individual pages (e.g., sitemap.xml?page=2), Google Search Console reports a "nested indexing error".

Root cause:

The sitemap is being paginated using query parameters (e.g., sitemap.xml?page=1, sitemap.xml?page=2).

However, Google does not support paginated sitemap index files using query strings.

Google expects each sitemap file to be a distinct .xml file, not paginated dynamically.

This incorrect format can result in:

  • Google missing pages.
  • Indexing issues or inconsistent crawl behavior.

Solution Provided by the Module
What the module does:

Automatically splits large sitemaps into multiple physical .xml files instead of using query parameters.

Generates files like:

sitemap-1.xml

sitemap-2.xml

etc.

Creates a sitemap index file (sitemap.xml) that references these individual sitemap files correctly, in accordance with Google's requirements.

Benefits:

  • Eliminates nested indexing errors.
  • Ensures Googlebot can discover and crawl all pages efficiently.
  • Provides SEO compliance for large-scale websites with thousands of URLs.

Activity

Total releases
2
First release
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.2 Stable Jun 28, 2025
1.0.x-dev Dev Jun 24, 2025