Sitemap

SleekRank automatically adds all generated pages to your WordPress sitemap, ensuring search engines can discover and index them. It supports multiple SEO plugins out of the box.

Supported SEO plugins

SleekRank integrates with the following sitemap providers:

  • WordPress Core Sitemaps — Built-in sitemaps (WordPress 5.5+)
  • Yoast SEO — via the wpseo_sitemap hooks
  • Rank Math — via Rank Math's sitemap API
  • The SEO Framework — via TSF sitemap hooks
  • All in One SEO — via AIOSEO sitemap hooks

SleekRank detects which SEO plugin is active and hooks into the appropriate sitemap system automatically. No configuration is needed.

Sitemap settings

Each page group has its own sitemap configuration in the Sitemap tab:

  • Enable sitemap: Toggle whether the page group's URLs are included in the sitemap
  • Priority: Value between 0 and 1 (default: 0.5) indicating the relative importance of these pages
  • Change frequency: How often the content typically changes (always, hourly, daily, weekly, monthly, yearly, never)

How it works

When your sitemap is requested, SleekRank loops through all active page groups with sitemap enabled, resolves every valid URL from the data sources, and adds each as a sitemap entry. Each entry includes:

  • URL: The full generated page URL
  • Last Modified: Based on the base page's last modification time
  • Priority: Configured per page group
  • Change Frequency: Configured per page group

Base page exclusion

Base pages used as templates are automatically excluded from WordPress sitemaps and marked with a noindex robots meta tag. This prevents search engines from indexing the template page directly, ensuring only the generated pages appear in search results.

Multiple SEO plugins

If you have more than one SEO plugin active (not recommended but sometimes unavoidable), SleekRank will integrate with all detected plugins to ensure maximum sitemap coverage.

Verifying your sitemap

After setting up page groups, verify that generated URLs appear in your sitemap by visiting your sitemap URL (usually /sitemap.xml or /sitemap_index.xml). Look for the URLs matching your page group patterns.