How Do I Find a Sitemap URL With Yoast SEO
Why Your XML Sitemap Matters
An XML sitemap is a machine-readable list of the URLs on your site that you want search engines to know about, along with metadata such as when each was last modified. It does not guarantee indexing and it is not a ranking factor, but it is one of the most reliable ways to help crawlers discover your content quickly and completely — particularly on larger sites, newer sites with few backlinks, and sites where some pages are not well connected through internal links.
If you run WordPress with Yoast SEO installed, you already have a sitemap. Yoast builds and maintains it automatically, splits it into manageable index files, and updates it whenever you publish or change content. The only question is where to find it.
How AAMAX.CO Can Help With Technical SEO and WordPress
We are AAMAX.CO, a full-service digital marketing company providing Web Development, Digital Marketing and SEO Services worldwide. Sitemaps are one small part of a much larger technical picture, and our SEO services cover all of it: crawl and index diagnostics, sitemap and robots configuration, canonical and redirect strategy, structured data, Core Web Vitals and site speed, and WordPress-specific issues from plugin conflicts to bloated themes. If pages are missing from search results, or Search Console is reporting errors you cannot interpret, hire AAMAX.CO for a technical audit that identifies exactly what is blocking your visibility and fixes it.
The Direct Answer: Where the Yoast Sitemap Lives
By default, Yoast SEO publishes its sitemap index at:
https://yourdomain.com/sitemap_index.xml
Note the underscore between "sitemap" and "index" — this is the most common source of confusion, because many other plugins and platforms use sitemap.xml instead. Yoast does typically redirect /sitemap.xml to the correct index, but if you see a 404 at one address, try the other before assuming something is broken.
What loads is not a single flat list of URLs. It is an index file that links to a set of child sitemaps, each covering one content type — for example post-sitemap.xml, page-sitemap.xml, category-sitemap.xml, product-sitemap.xml on WooCommerce stores, and author or custom taxonomy sitemaps where applicable. Yoast caps each child sitemap at a manageable number of URLs and creates additional numbered files as your site grows, which keeps everything within search engine limits automatically.
Finding It From Inside the WordPress Dashboard
If you would rather not guess at URLs, Yoast provides a direct link. Log in to WordPress and go to Yoast SEO > Settings. Open the Site features section, locate XML sitemaps, and confirm the toggle is enabled. Next to that toggle there is a small question-mark or link icon that opens your live sitemap in a new tab. That is the authoritative URL for your installation, regardless of any custom permalink configuration.
In older versions of Yoast the same option appears under SEO > General > Features, with a "See the XML sitemap" link beside the XML sitemaps switch. Either way, if the feature is disabled, no sitemap exists until you enable it — so check this first if your URL returns a 404.
Checking robots.txt
Another quick way to locate any site's sitemap is to visit https://yourdomain.com/robots.txt. Yoast adds a Sitemap directive there automatically, so you should see a line reading something like Sitemap: https://yourdomain.com/sitemap_index.xml. This is also worth verifying because it is how some crawlers discover your sitemap without you submitting it anywhere. If the line is missing — often because a caching plugin or server configuration is serving a static robots.txt file — add it manually.
Controlling What Appears in the Sitemap
A sitemap should contain the pages you want indexed and nothing else. Yoast handles this intelligently: anything you mark as excluded from search results is automatically kept out of the sitemap, as are non-canonical and redirected URLs.
To adjust what is included, go to Yoast SEO > Settings and work through Content types, Categories and tags, and Advanced. For each post type or taxonomy there is a setting controlling whether it should show in search results. Turn it off for anything that has no business ranking — typically tag archives on small sites, author archives on single-author blogs, media attachment pages, and internal-only custom post types. Those items then disappear from the sitemap as well. You can also exclude individual posts or pages using the advanced settings in the Yoast panel of the editor.
This pruning genuinely matters. Sitemaps full of thin archive pages and duplicate URLs waste crawl budget and send confusing signals about what your site is really about, which is why cleaning them up is a standard early step in the technical work we do as part of broader digital marketing engagements.
Submitting Your Sitemap to Search Engines
Once you have the URL, submit it. In Google Search Console, select your property, open Sitemaps under the Indexing section, enter sitemap_index.xml, and click Submit. In Bing Webmaster Tools, use Sitemaps > Submit sitemap with the full URL. Bing also lets you import your Search Console configuration, which saves time.
After submission, watch the reports rather than the submission itself. Search Console will tell you how many URLs it discovered and read, and flag errors such as URLs blocked by robots.txt, redirects inside the sitemap, or pages returning errors. Reviewing this alongside the Page indexing report is one of the fastest ways to find out why specific pages are not appearing in search results.
Troubleshooting Common Problems
If sitemap_index.xml returns a 404, check that XML sitemaps are enabled in Yoast, then confirm no other SEO plugin is also generating sitemaps — running two SEO plugins simultaneously is a frequent cause of conflicting or broken sitemap output. Deactivate the redundant one.
If the sitemap loads as unstyled raw XML, nothing is wrong; that is simply the stylesheet being blocked or unavailable, and crawlers do not care. If it loads but is empty or missing recent posts, clear your caching plugin and server cache, then reload. Aggressive page caching regularly serves stale sitemaps.
If you see unexpected URLs included, revisit your content type settings and check for a plugin registering public post types you did not intend to expose. If your site is very large and crawling is slow, ensure last-modified dates are accurate so crawlers can prioritise changed content, and consider whether low-value pages should be excluded entirely.
Beyond the Sitemap
A sitemap only tells search engines what exists. Whether those pages get indexed and ranked depends on content quality, internal linking, page speed, and authority. Increasingly it also determines whether AI systems can find and cite your content correctly, which is why clean crawlability underpins the work we do in GEO services as much as it does classic SEO.
Conclusion
Your Yoast sitemap lives at yourdomain.com/sitemap_index.xml, is linked from the XML sitemaps setting inside the Yoast dashboard, and is referenced in your robots.txt file. Enable it, prune it so it contains only pages worth indexing, submit it to Google and Bing, and monitor the indexing reports for errors. If you would like an expert to audit the whole technical picture rather than one file, contact AAMAX.CO and we will take it from there.
Want to publish a guest post on aamax.co?
Place an order for a guest post or link insertion today.
Place an Order