Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

SEO & AI search · Info

Rank Math Sitemap Settings Explained: What Each Option Does

Rank Math Sitemap Settings Explained: What Each Option Does

Short answer

Rank Math sitemap settings decide which content types, taxonomies, authors and images appear in your XML sitemap and how many links each file holds. Most sites should include posts, pages and useful categories, keep images on, leave attachments and empty terms off, and submit the sitemap index once.

Key takeaways

  • Turn on the Sitemap module to create /sitemap_index.xml.
  • Some options only appear in Rank Math Advanced mode.
  • Include posts, pages and useful categories, but not attachments.
  • Noindex content is removed from the sitemap automatically.
  • Submit the sitemap index once in Google Search Console.

What are Rank Math sitemap settings?

Rank Math sitemap settings control which posts, pages, taxonomies, authors and images go into your XML sitemap, how many links each sitemap file holds, and whether an HTML sitemap is shown to visitors.

Rank Math creates a sitemap index at /sitemap_index.xml when the Sitemap module is on. That index links to smaller sitemaps for each content type, such as posts, pages and categories.

You find the settings under Rank Math SEO, then Sitemap Settings. Some options only appear when Rank Math is in Advanced mode, so switch modes in the dashboard if a setting described here is missing.

SectionMain optionsDefault approach
GeneralLinks per sitemap, images, featured images, exclusionsKeep defaults, include images
HTML SitemapDisplay method, sort order, dates, item titlesOptional, off by default
AuthorsInclude authors, exclude roles or usersInclude only if author pages matter
Post typesInclude each type, image custom fieldsPosts and pages on, attachments off
TaxonomiesInclude each taxonomy, empty termsCategories on, tags depend on use
News and Video (Pro)News and video sitemapsOnly for news or video sites

How do you turn on the Rank Math sitemap?

Go to Rank Math SEO, then Dashboard, then Modules, and switch on the Sitemap module, then open Sitemap Settings to configure it.

When the module is on, Rank Math disables the basic sitemap that WordPress core creates at /wp-sitemap.xml. That avoids two competing sitemaps on the same site.

The Rank Math sitemap guide shows each screen. If you have not finished the setup wizard yet, our guide on setting up Rank Math covers it first.

What do the General sitemap settings do?

The General tab sets how many links go into each sitemap file, whether images are included, and which posts or terms are excluded everywhere.

Links Per Sitemap sets the maximum number of URLs in each sitemap file. When a content type has more items, Rank Math splits it into numbered files. The sitemap protocol allows up to 50,000 URLs per file, as the sitemaps.org protocol explains.

Lower numbers create more files that load faster. That can help on slow servers where a large sitemap times out. Most sites can keep the default.

Images in Sitemaps adds images found in post content to each URL's entry. Include Featured Images adds the featured image too. Both help search engines find your images.

Exclude Posts and Exclude Terms take comma-separated IDs. Use them for items you want indexed but kept out of the sitemap, which is rare. Content set to noindex is left out automatically.

What does the HTML sitemap option do?

The HTML sitemap builds a human-readable list of your pages and posts that you can show on a page with a shortcode, a block or by choosing a page.

This is for visitors rather than search engines. It helps on large sites where people want a simple list of everything.

Options include how to display the list, the sort order, whether to show dates and whether to use the SEO title or the post title for each item.

Most small sites do not need it. Good navigation and search usually help visitors more.

Should you include authors in the sitemap?

Include author archives only if they are useful, indexable pages, such as on multi-author sites where each author page has a real bio and list of articles.

The Authors tab lets you include or exclude author archives. You can also exclude specific user roles or users, such as administrators who never publish.

On single-author blogs, the author archive often duplicates the main blog page. In that case, set author archives to noindex in Titles and Meta, and they leave the sitemap automatically.

How should you set post type sitemaps?

Include public content types people should find in search, such as posts, pages and products, and exclude types that only exist for internal use.

Each post type has an Include in Sitemap switch. Posts and pages are on by default. Custom post types from plugins appear here too.

Leave Attachments off. Attachment pages are thin pages for each media file. Our guide on disabling attachment pages explains why most sites redirect them.

The Image Custom Fields option lets Rank Math find images stored in custom fields, such as those from page builders or field plugins. Add the field names if your images are missing from the sitemap.

How should you set taxonomy sitemaps?

Include categories if their archive pages are useful landing pages, and include tags only if each tag page has enough posts to be helpful.

Each taxonomy has its own switch. Product categories in WooCommerce stores are usually worth including.

The Include empty terms option adds archives with no posts. Leave it off, since empty archive pages give search engines nothing useful.

If you set a taxonomy to noindex in Titles and Meta, Rank Math removes it from the sitemap even when the switch is on. That keeps your sitemap consistent with your indexing rules.

What are News and Video sitemaps?

News and Video sitemaps are Rank Math Pro features that create special sitemaps for news publishers and sites with many embedded or hosted videos.

A news sitemap only matters if you publish timely news content. Google's sitemap overview covers when news, video and image extensions help.

Video sitemaps can help search engines find video details such as title, thumbnail and duration. Smaller sites with a few YouTube embeds rarely need one.

How do you submit the sitemap to search engines?

Submit your /sitemap_index.xml URL in Google Search Console and Bing Webmaster Tools, which only needs doing once because the file updates itself.

Open Sitemaps in Search Console, paste the index URL and submit. Our guide on connecting Google Search Console to WordPress shows the full process.

Rank Math also adds the sitemap URL to your virtual robots.txt file, so crawlers can find it on their own.

For faster discovery of new content on Bing and other engines, read our guide on setting up IndexNow in WordPress.

What if the Rank Math sitemap is not working?

Most sitemap problems come from permalinks needing a refresh, caching of the XML file, or another SEO plugin creating a conflicting sitemap.

Go to Settings, then Permalinks, and click Save Changes to flush rewrite rules. Then exclude sitemap URLs from your cache plugin and CDN.

Make sure only one plugin generates sitemaps. If you moved from Yoast, check that its sitemap feature is off or the plugin is removed.

For a full troubleshooting list, see our guide on fixing a Rank Math sitemap that is not working. The plugin's WordPress.org page also has a support forum for module-specific issues.

To understand what belongs in a sitemap in the first place, read what an XML sitemap is.

Frequently asked questions

Where is the Rank Math sitemap URL?

With the Sitemap module on, the index is at your domain followed by /sitemap_index.xml. It links to separate sitemaps for posts, pages, categories and other included content. You can also open it from the Sitemap Settings screen.

Why can I not see Links Per Sitemap in Rank Math?

Some sitemap options only show when Rank Math is in Advanced mode. Switch from Easy mode to Advanced mode on the Rank Math dashboard, then return to Sitemap Settings, and the extra options will appear.

Should I include tags in my Rank Math sitemap?

Only if your tag pages are useful, with several posts each and a clear topic. On many blogs, tags create thin, overlapping archives. In that case, set tags to noindex and they leave the sitemap automatically.

Does Rank Math replace the WordPress core sitemap?

Yes. When the Rank Math Sitemap module is active, it disables the default WordPress sitemap so only one sitemap exists. Submit the Rank Math sitemap index to search engines instead of the core one.

How often does the Rank Math sitemap update?

It updates automatically when you publish, edit or delete content. Search engines read the new version on their next visit. If you see old data, a page cache or CDN may be storing the sitemap, so exclude it from caching.

Sources

  1. How to Configure Sitemaps in Rank Math Rank Math
  2. Rank Math SEO WordPress.org Plugins
  3. Learn about sitemaps Google Search Central
  4. Sitemaps XML format sitemaps.org

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.