Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Technical SEO

Yoast SEO Sitemap: Where to Find, Fix, and Submit It (2026)

Home / Blog / Yoast SEO Sitemap: Where to Find, Fix, and Submit It (2026)
yoast seo sitemap

Your Yoast SEO sitemap lives at yoursite.com/sitemap_index.xml by default, and Yoast builds it automatically the moment you turn on XML sitemaps under Yoast SEO, Settings, Site Features. You never create it by hand. It updates itself every time you publish, edit, or delete a page, and that single URL is what you submit to Google Search Console and Bing Webmaster Tools.

Key takeaways

  • The default Yoast sitemap URL pattern is yoursite.com/sitemap_index.xml, generated automatically with no manual file to build.
  • Yoast splits large sites into sub-sitemaps of 1,000 URLs each, all linked from the main index.
  • Submitting the sitemap to Google Search Console is not required for indexing but speeds up discovery and surfaces errors.
  • A 404 on your Yoast sitemap almost always traces back to permalinks, a conflicting plugin, or caching.
  • You exclude content from the sitemap through the noindex toggle, not by deleting URLs manually.

Where does Yoast SEO put the sitemap?

Yoast SEO puts your sitemap at yoursite.com/sitemap_index.xml. That single index file links out to smaller sitemaps for each content type: posts, pages, categories, and any custom post types you have marked as indexable. Yoast generates the whole structure on the fly, so there is no physical XML file sitting in your server's file directory. Every request to that URL builds the current version fresh.

More than 10 million WordPress sites run Yoast SEO, according to the plugin's own listing on the WordPress.org plugin directory, and every one of them gets this same sitemap structure the moment XML sitemaps are switched on.

10M+WordPress sites run Yoast SEO,each getting an automatic sitemapEvery install generates sitemap_index.xml with zero manual setup required.
Source: WordPress.org Yoast SEO plugin page (2026)

If you manage a site that is not on WordPress, or you want the general mechanics of what a sitemap needs to contain, our guide on how to make a sitemap covers the format outside of any single plugin.

What is actually inside sitemap_index.xml?

Open sitemap_index.xml in a browser and you will see a plain XML list of smaller sitemap files, not your actual pages. Each line points to one sub-sitemap. The naming is predictable, which makes it easy to spot problems at a glance.

Sitemap fileWhat it lists
sitemap_index.xmlLinks to every other sitemap file on the site
post-sitemap.xmlPublished blog posts
page-sitemap.xmlStatic pages
category-sitemap.xmlCategory archive pages, if they are indexable
author-sitemap.xmlAuthor archive pages, if author archives are enabled

Click through to any individual sitemap, such as post-sitemap.xml, and you will find the actual URLs, each with a last-modified date. Yoast dropped the priority and change-frequency fields back in version 3.5 because, as Yoast's own documentation notes, Google said publicly it does not use those values for most sites.

How do you find your Yoast sitemap URL in the WordPress dashboard?

You do not need to guess the URL. Yoast shows it to you directly inside the plugin settings.

  1. Log in to your WordPress dashboard and go to Yoast SEO > Settings.
  2. Open the Site Features tab.
  3. Scroll to the XML sitemaps section and confirm the toggle is switched on.
  4. Click See the XML sitemap. This opens sitemap_index.xml in a new tab, which is the exact URL you will submit to search engines.

If you do not see that link, the XML sitemaps feature may be turned off, or you are running an older version of Yoast with a different settings layout. Updating the plugin usually restores the standard path. Once you have confirmed the sitemap is live, it is worth walking through your pre-publish SEO checklist so every new page you add actually qualifies for inclusion.

Do you need to submit the Yoast sitemap manually to Google?

Not strictly. Yoast automatically pings Google and Bing every time you publish or update a post, so search engines usually find new content without any action from you. Manual submission still helps because it gives Google an explicit starting point and lets you monitor indexing status in one dashboard.

To submit it, sign in to Google Search Console, select your property, open Indexing > Sitemaps in the left sidebar, and enter sitemap_index.xml in the field before clicking Submit. If your property is set up as a domain property rather than a URL-prefix property, paste the full URL instead of just the filename. After submission, Google typically shows a status of "Success" within a few hours, though full processing of a large site can take longer.

How do you submit the Yoast sitemap to Bing and other search engines?

Bing Webmaster Tools works almost the same way. Sign in, select your site, open the Sitemaps section, click Submit sitemap in the top right, and paste your full sitemap_index.xml URL. Bing Webmaster Tools can also import verified sites and their sitemaps directly from a connected Google Search Console account, which saves a step if you already have that set up. If you have not connected Search Console yet, our walkthrough on how to add Google Search Console to your WordPress site covers verification first.

Why is your Yoast sitemap not showing or returning a 404 error?

A Yoast sitemap 404 almost always comes down to one of three things: outdated permalink rules, a second plugin fighting for the same URL, or a caching layer serving a stale response. Work through them in order rather than guessing.

3 places to check when a Yoast sitemap breaksPermalinksResave Settings,Permalinks to flush rewrite rulesConflicting pluginsDeactivate other SEO orsitemap plugins one by oneCaching or CDNPurge cache rules blockingsitemap_index.xml
Source: Rankite

Start with permalinks, since it fixes the issue more often than anything else. Go to Settings > Permalinks in WordPress and click Save Changes without touching any fields. This flushes the rewrite rules that control how sitemap_index.xml resolves. Next, check for a conflicting sitemap source: another SEO plugin, a caching plugin with its own sitemap module, or a security plugin that blocks XML file types. Deactivate suspects one at a time and reload the sitemap after each one, per WPBeginner's troubleshooting guide on this exact error. Finally, purge any page cache or CDN cache, since some configurations serve an old cached 404 response even after the underlying fix is live.

How do you exclude pages, posts, or content types from the Yoast sitemap?

Yoast does not give you a checklist of individual URLs to remove from the sitemap. Instead, exclusion is tied to whether a piece of content is set to noindex, and Yoast automatically drops anything noindexed from the sitemap for you.

  • Single post or page: Open it in the block editor, expand the Yoast SEO panel's Advanced section, and set "Allow search engines to show this page in search results?" to No. Update the post and it disappears from the sitemap.
  • Entire post type: Go to Yoast SEO, Settings, Content Types, and switch off "Show [post type] in search results" for that type. This removes the whole content type's sub-sitemap.
  • Bulk exclusion by ID: Developers can use the wpseo_exclude_from_sitemap_by_post_ids filter in functions.php to exclude a specific list of post or page IDs without changing their indexing status individually.

This matters because a sitemap padded with noindexed, thin, or duplicate pages sends mixed signals to Google about what you actually want crawled. Keeping it lean is part of the same discipline covered in our broader sitemap best practices guide.

Does the Yoast sitemap include images?

Yes, but only featured images and gallery images by default, not every image sitting inside your post content. Yoast's own documentation on images in XML sitemaps confirms this scope, and developers can adjust which images appear using the wpseo_xml_sitemap_img filter. If your site depends heavily on image search traffic, such as a photography or ecommerce site, it is worth auditing whether the default behavior actually captures your most important visuals.

Yoast sitemap vs Rank Math sitemap: what is actually different?

If you are choosing between plugins, the sitemap itself is rarely the deciding factor. Rank Math offers more granular controls, including per-post-type toggles and dedicated video or Google News sitemaps, while Yoast keeps the same simple, automated approach it has used for years. Functionally, Google reads either plugin's output the same way, so neither one gives you a ranking edge through the sitemap alone.

Yoast sitemap vs Rank Math sitemapYoast SEOOne index: sitemap_index.xmlAuto-includes indexable post typesNo per-type sitemap toggleNoindexed content excluded automaticallyRank MathDedicated sitemap settings screenInclude or exclude post types manuallyAdds video and Google News sitemapsGoogle reads both formats identically
Source: Kinsta and 10Web plugin comparisons (2026)

The practical difference shows up in day-to-day management. Rank Math gives you a dedicated sitemap settings screen where you toggle content types on and off individually. Yoast handles that exclusion indirectly, through the noindex setting described above, which is less granular but keeps the interface simpler for non-technical site owners.

Common Yoast sitemap mistakes to avoid

A handful of avoidable errors account for most of the sitemap problems we see on client audits.

  • Running two sitemap plugins at once. This is the single most common cause of a 404, since both plugins try to own the same URL.
  • Submitting the wrong URL to Search Console. Submitting an old sitemap.xml from a previous plugin instead of Yoast's sitemap_index.xml leaves Google reading stale data.
  • Forgetting to check indexing after a migration. Moving hosts or changing permalinks can silently break the sitemap until someone resaves permalink settings.
  • Leaving noindexed pages linked internally. A page excluded from the sitemap but still linked heavily across the site sends a confusing signal about your priorities.
  • Never revisiting the sitemap after adding a schema plugin or custom post type. New content types need to be checked for inclusion, especially if you have added schema markup in WordPress for a custom post type that should also carry structured data in search results.

Frequently asked questions

Where is my Yoast SEO sitemap located? By default it sits at yoursite.com/sitemap_index.xml. Yoast SEO builds it automatically once you activate the plugin and turn on XML sitemaps under Yoast SEO, Settings, Site Features.

Do I need to create the Yoast sitemap myself? No. Yoast SEO generates and updates the sitemap on its own every time you publish, edit, or delete content. There is no file to build by hand and no separate sitemap plugin required.

Do I need to submit the Yoast sitemap manually to Google? Not strictly, since Yoast pings Google after you publish, but submitting sitemap_index.xml once inside Google Search Console under Indexing, Sitemaps speeds up discovery and shows you indexing errors in one place.

Why is my Yoast sitemap showing a 404 error? The usual causes are stale permalink rules, a second plugin generating its own sitemap, or a caching layer blocking the URL. Resave Settings, Permalinks in WordPress, deactivate other sitemap plugins one at a time, and purge your cache or CDN, per WPBeginner's troubleshooting guide.

How do I exclude a page or post from the Yoast sitemap? Open the page in the block editor, expand the Yoast SEO panel's Advanced section, and set "Allow search engines to show this page in search results?" to No. Yoast drops noindexed content from the sitemap automatically once you save.

Can I exclude an entire post type or category from the Yoast sitemap? Yes. Turn off "Show X in search results" for that post type under Yoast SEO, Settings, Content Types, or use the wpseo_exclude_from_sitemap_by_post_ids filter for bulk exclusions by ID, per Yoast's own documentation.

How many URLs fit in one Yoast sub-sitemap? 1,000 by default. Once a post type passes that count, Yoast splits it into post-sitemap2.xml, post-sitemap3.xml, and so on, all linked from sitemap_index.xml, and developers can change the cap with the wpseo_sitemap_entries_per_page filter.

Does the Yoast sitemap include images? Yes, but only featured images and gallery images by default, not every image inside your body content, according to Yoast's documentation on images in XML sitemaps.

Does Yoast add the sitemap to robots.txt automatically? Yes, if Yoast is generating your robots.txt file it adds a Sitemap line pointing to sitemap_index.xml automatically. If a robots.txt already existed on your server, you may need to add that line yourself through the Yoast SEO file editor under Tools.

Should I run a separate sitemap plugin alongside Yoast? No. Running two sitemap generators at once is one of the most common causes of the 404 error, since both plugins compete for the same sitemap_index.xml URL. Use Yoast's built-in sitemap and skip extras.

What to do next

Open yoursite.com/sitemap_index.xml right now and confirm it loads. If it does not, work through the permalinks, plugin, and cache checklist above. If it does, submit it once inside Google Search Console, then move on to the content itself: a clean sitemap only helps if the pages inside it are worth ranking. If you want a second set of eyes on your technical setup, request a free SEO audit from Rankite and we will flag what is actually holding your site back.

Related articles

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com