rankmath-sitemap-integration
Installation
SKILL.md
Rank Math sitemap integration
Use Rank Math's normal post-type and taxonomy providers whenever the resource has a real public WordPress URL. Add a custom provider only for content that cannot be represented correctly by those providers.
Workflow
- Classify the resource as a normal post, term, author, or genuinely custom URL collection.
- Establish indexability and canonical ownership before touching the sitemap.
- Prefer entry filters for small URL-level changes; use symmetric query filters only for database-level eligibility.
- Add a provider only for a new sitemap type backed by a custom store or virtual resources.
- Define deterministic ordering, pagination, dates, and cache invalidation together.
- Verify the sitemap index, every page boundary, and rendered XML.
Use the built-in provider first
A CPT normally needs no custom provider. Ensure it is public and viewable, give it stable local permalinks, then enable its sitemap in Rank Math settings. Rank Math already: