Practical guideUpdated

WordPress sitemaps: where they are and how to manage them

Since version 5.5, WordPress generates an XML sitemap automatically at /wp-sitemap.xml, listing posts, pages, public custom post types, categories, tags, and author archives. SEO plugins such as Yoast SEO and Rank Math disable it and provide their own, usually at /sitemap_index.xml, with more control over what is included. Submit whichever is active in Google Search Console and reference it in robots.txt.

WordPress sitemaps confuse people because there can be two of them, and the one Google reads may not be the one you are editing. This guide explains which sitemap is active, how to control what it lists, and how to fix the errors that show up most often in Search Console.

By , Founder, SerionFlow

What we measured ·

What Google shows for "wordpress sitemap" right now

Method: Live Google results (United States, desktop, English) for "wordpress sitemap" retrieved through DataForSEO's SERP API on 2026-10-22. Page types are our own classification of each ranking URL.

The top 9 organic results for "wordpress sitemap" were 4 guides or explainers, 3 product or service pages, 1 video, 1 list or comparison. The first three were wordpress.com, learn.wordpress.org, wordpress.com.

Google showed an AI Overview for this query, citing 5 source domains including learn.wordpress.org, www.youtube.com, elementor.com, www.semrush.com. Pages that state the answer directly and early are the ones an Overview can quote.

People Also Ask listed: "Why are people moving away from WordPress?"; "How do I get my WordPress sitemap?"; "Is there a sitemap plugin for WordPress?"; "Is a sitemap necessary for SEO?". The sections below answer the ones within this page's scope.

Top organic results for "wordpress sitemap", 2026-10-22
PositionDomainPage type
1wordpress.comProduct or service page
2learn.wordpress.orgProduct or service page
3wordpress.comGuide or explainer
4elementor.comGuide or explainer
5wpmarmite.comProduct or service page
6wpengine.comGuide or explainer
01

Which sitemap is active on your site

Check in this order.

WordPress sitemap locations
SetupSitemap URLNotes
Core WordPress, no SEO plugin/wp-sitemap.xmlIndex linking to per-type sitemaps
Yoast SEO/sitemap_index.xmlCore sitemap is disabled automatically
Rank Math/sitemap_index.xmlCore sitemap is disabled automatically
All in One SEO/sitemap.xmlCheck plugin settings
WordPress.com hosted/sitemap.xmlManaged by WordPress.com
02

Controlling what the sitemap lists

With Yoast, use Search Appearance or the content type settings to set whether each post type and taxonomy appears in search; types set not to show are removed from the sitemap. Rank Math has a Sitemap Settings section with toggles per post type and taxonomy. With the core sitemap and no plugin, developers can use the wp_sitemaps_add_provider and wp_sitemaps_post_types filters to remove types such as users. Excluding tag and author archives is common when they are thin or noindexed.

03

Submitting and referencing it

In Google Search Console, open Sitemaps, enter the active sitemap path, and submit. Do the same in Bing Webmaster Tools. WordPress's virtual robots.txt includes a Sitemap line for the core sitemap; SEO plugins usually update it to point at their own. Visit /robots.txt to confirm the Sitemap line matches the active sitemap.

04

Common errors and fixes

A 404 at /sitemap_index.xml usually means permalinks need refreshing: open Settings, Permalinks, and click Save without changes. A sitemap showing HTML or a blank page often comes from a caching or security plugin intercepting the request; exclude sitemap URLs from caching. 'Couldn't fetch' in Search Console can mean a firewall is blocking Googlebot. Noindexed URLs appearing in the sitemap mean the post type or individual posts are inconsistent; align the noindex and sitemap settings.

05

Do you even need a plugin sitemap?

For many sites the core sitemap is enough. Plugin sitemaps add image entries, finer exclusion controls, and accurate lastmod dates, which help larger sites. What matters most is that the sitemap lists only canonical, indexable URLs. Our free sitemap checker fetches your active sitemap and flags redirected, noindex, or broken URLs. For publishing programmatic pages to WordPress, see our guide to programmatic SEO on WordPress. SerionFlow is the wrong tool for managing your WordPress sitemap; it has no WordPress integration and maintains a separate sitemap only for its own pages.

Clear answers

Frequently asked questions

Is there a sitemap plugin for WordPress?

+

Yes. Yoast SEO, Rank Math, and All in One SEO all generate sitemaps, and WordPress has a built-in sitemap since version 5.5 if you prefer not to use a plugin.

Is a sitemap necessary for SEO?

+

Not strictly, but it helps search engines discover pages, especially on new sites, large sites, and sites with weak internal linking.

About the author

· Founder, SerionFlow

Shadrack builds SerionFlow's site research, page generation, and Search Console tooling, and runs the free tools these guides pair with. Search Console figures cited on these pages come from serionflow.com's own property.

Continue exploring

Related SerionFlow resources

More in Guides

All guides

Make the next move obvious

Let SerionFlow turn your market evidence into momentum.

Confirm the market, rank the opportunities that matter, create brand matched pages on your domain, and keep moving with controlled weekly intelligence.

Choose how SerionFlow uses cookies.

Essential cookies keep the site secure and working. Product analytics helps us improve reliability. Optional cookies help us remember preferences and improve campaigns. You can change optional cookies anytime in Cookie Settings.