RevealTheme logo
Back to Blog

WordPress And The Sitemap Index Structure For Large Sites

WordPress And The Sitemap Index Structure For Large Sites
The RevealTheme Team

By

··3 min read

Sites with 5,000+ URLs need sitemap structure that helps search engines understand the inventory. A single sitemap with 50,000 URLs is the maximum; large sites need multiple sub-sitemaps organized by an index.

The structure choices affect crawl efficiency. The right structure helps search engines prioritize.

The structure by content type

Separate sub-sitemaps for: posts, pages, custom post types, categories, tags, custom taxonomies.

The separation lets search engines understand the inventory's composition. Posts versus pages versus custom types each have different characteristics.

Most WordPress SEO plugins create this structure automatically.

The pagination within type

If posts exceed 50,000, the post sub-sitemap needs pagination: post-sitemap-1.xml, post-sitemap-2.xml, etc.

Each paginated sitemap contains up to 50,000 URLs. The index references all of them.

Most plugins handle pagination automatically.

The lastmod accuracy

The sitemap index's lastmod for each sub-sitemap should reflect when content in that sub-sitemap changed.

If only one post in the post sub-sitemap was updated, the lastmod should be that post's update date, not "now" or another arbitrary value.

Accurate lastmod helps crawlers prioritize. Inaccurate lastmod dilutes the signal.

The exclusion considerations

Some content shouldn't be in sitemaps: author archives (typically), date archives, search results pages, paginated archive pages, attachment pages.

The exclusions matter because included thin content dilutes the signal of quality content.

SEO plugin settings control inclusions. Verify the settings match your strategy.

The verification

For large sites, verify the sitemap structure:

The index URL should resolve and list sub-sitemaps.

Each sub-sitemap should resolve and contain expected URLs.

The total URL count across sub-sitemaps should approximately match your indexable content count.

Search Console's Sitemaps report shows fetched and indexed counts; large gaps indicate issues.

The honest framing

For sites with under 5,000 URLs, sitemap structure is mostly automatic and works fine. For larger sites, the structure deserves attention.

The investment is moderate; the benefit is more efficient crawl budget allocation.

For sites with significant content volume, the periodic verification (quarterly) catches structure issues that emerge over time.