Skip to content

Disabling Mapped Pages from the Sitemap (Yoast and RankMath) ​

WP Landing Kit does not provide built-in filters for excluding mapped pages from the sitemaps generated by Yoast or RankMath. Its Yoast and RankMath integrations only rewrite OpenGraph (social sharing) URLs so they point to the mapped domain.

The integrations do not change sitemap entries. Mapped pages appear in the Yoast or RankMath XML sitemap with their original WordPress domain URLs, not their mapped domain URLs, and WP Landing Kit does not generate a separate XML sitemap for each mapped domain. There is no built-in setting or filter to change this.

To keep specific pages out of your sitemap, use the exclusion controls provided by your SEO plugin. Excluding a page only removes it from the sitemap; it does not change the page's sitemap URL to the mapped domain or create a sitemap for that domain.

  • Yoast SEO: open the page in the editor, then in the Yoast meta box set Advanced > Allow search engines to show this page in search results? to No. Pages excluded from the index are also removed from the Yoast sitemap.
  • RankMath: open the page in the editor, then in the RankMath meta box under Advanced enable No Index. Pages set to noindex are excluded from the RankMath sitemap.
Was this helpful?