Docs / Core SEO / XML Sitemaps

XML Sitemaps

Auto-generated XML sitemaps that help search engines discover and index all your content efficiently.

Overview

The sitemap module () generates a sitemap index at /sitemap.xml with individual sub-sitemaps for each post type and taxonomy. It hooks into WordPress rewrite rules for clean URLs.

πŸ–ΌοΈ
Sitemap Settings Page
Screenshot: Sitemaps configuration page with all toggles β€” 900 Γ— 500px β€” assets/images/sitemaps-settings.png

Sitemap URL Structure

yoursite.com/sitemap.xml # Sitemap index
yoursite.com/sitemap-post.xml # Posts
yoursite.com/sitemap-page.xml # Pages
yoursite.com/sitemap-product.xml # WooCommerce products
yoursite.com/sitemap-category.xml # Categories
yoursite.com/sitemap-post_tag.xml # Tags
yoursite.com/sitemap-product_cat.xml # Product categories

Sitemap Types

TypeContentTier
Post Type SitemapsAll public post types (posts, pages, products, etc.)Free
Taxonomy SitemapsCategories, tags, custom taxonomiesFree
Image SitemapImages embedded in content with <image:image> tagsPro
News SitemapGoogle News compatible sitemap for recent postsPro

Configuration

Navigate to Serpelo β†’ Settings β†’ XML Sitemaps (slug: serpelo-sitemaps).

Global Settings

SettingOption KeyDefaultDescription
Enable Sitemapsβ€”1Master toggle for XML sitemap generation
Include Imagesβ€”1Add <image:image> elements for embedded images
Exclude Postsβ€”""Comma-separated post IDs to exclude from sitemaps
Max URLs per Sitemapβ€”5000Maximum entries per individual sitemap file

Per Post Type Settings

Each public post type gets its own configuration block:

SettingOption Key PatternValues
Include in Sitemapserpelo_sitemap_{post_type}1 (included) / 0 (excluded)
Priorityserpelo_sitemap_priority_{post_type}0.1 – 1.0 (default varies by type)
Change Frequencyserpelo_sitemap_freq_{post_type}daily, weekly, monthly, yearly

Per Taxonomy Settings

SettingOption Key Pattern
Include Taxonomyserpelo_sitemap_tax_{taxonomy}
Priorityserpelo_sitemap_tax_priority_{taxonomy}

Advanced Settings

πŸ’‘
Noindexed Posts: Posts marked with _serpelo_noindex = 1 are automatically excluded from sitemaps. The sitemap module checks this meta before including any URL.

WooCommerce Integration

When WooCommerce is active, the sitemap module automatically:

Sitemap Pinging

After saving settings or publishing new content, you can notify search engines about your updated sitemap.

πŸ“‘
Ping Endpoints: The plugin pings both Google and Bing with your sitemap URL. You can trigger this manually via the Dashboard quick action or it runs automatically when content is published.