To find your WordPress sitemap, open https://example.com/wp-sitemap.xml. That is the default for public sites using WordPress 5.5 or later. If an SEO plugin manages your sitemap, try /sitemap_index.xml for Yoast or Rank Math, /sitemap.xml for AIOSEO, or /sitemaps.xml/ for SEOPress. Replace example.com with your website’s address.
This guide covers the common URLs, where to find them in WordPress, what to check when they fail, and how to submit the correct sitemap to Google. Reviewed October 21, 2026.
WordPress sitemap URLs at a glance
- WordPress core, without a sitemap plugin:
https://example.com/wp-sitemap.xml - Yoast SEO:
https://example.com/sitemap_index.xml - Rank Math:
https://example.com/sitemap_index.xml - All in One SEO (AIOSEO):
https://example.com/sitemap.xml - SEOPress:
https://example.com/sitemaps.xml/ - WordPress.com:
https://example.com/sitemap.xml, unless your setup uses another sitemap provider.
These are default locations, not a guarantee for every installation. A plugin, custom configuration, or WordPress site served from a subdirectory can change the address. Use the exact URL shown by the active sitemap provider. For a site whose public home is https://example.com/blog/, check beneath that path too.
Not sure which plugin is active? Try the XML Sitemap Finder to check sitemap declarations and common locations without logging in to WordPress.
How to find a WordPress sitemap without admin access
- Check the common URLs above. Start with the address for your known plugin, or try the native WordPress URL first.
- Open
https://example.com/robots.txt. Look for aSitemap:line and copy the complete URL after it. A missing declaration does not prove that no sitemap exists. - Follow the sitemap index. If the result lists other XML files, open a child sitemap to see the actual page URLs.
- Confirm that the result is XML. A redirect to the homepage, a login screen, or a security challenge is not a working sitemap, even if the page loads.
A robots.txt declaration looks like this:
Sitemap: https://example.com/sitemap_index.xmlWordPress core adds its sitemap index to the robots.txt response it generates for public sites. A physical robots.txt file or a hosting override can change what visitors receive. See the WordPress sitemap implementation for how the declaration is added.
Where is the native WordPress sitemap?
The native sitemap index is at /wp-sitemap.xml. WordPress introduced it in version 5.5, so a public, supported WordPress installation does not need an extra plugin just to provide a basic sitemap. Themes, plugins, and visibility settings can still disable it.
The index groups content into child sitemaps. Typical names include:
wp-sitemap-posts-post-1.xmlfor posts.wp-sitemap-posts-page-1.xmlfor pages.wp-sitemap-taxonomies-category-1.xmlfor categories.wp-sitemap-users-1.xmlfor author archives.
WordPress uses 2,000 entries per child sitemap by default; developers can change that value. The files present depend on the site’s public content and configuration. These defaults are documented in the WordPress core sitemap announcement.
How to find your sitemap in an SEO plugin
Yoast SEO
Open Yoast SEO → Settings → Site features. Under Technical SEO, enable XML sitemaps if needed, then select View the XML sitemap. The usual address is /sitemap_index.xml. Yoast updates its index and child sitemaps as content changes. See Yoast’s XML sitemap instructions.
Rank Math
Open Rank Math SEO → Sitemap Settings and use the sitemap link displayed there. Its default index is /sitemap_index.xml. If those settings are missing, check that the Sitemap module is enabled. Rank Math’s sitemap configuration guide explains the content-type settings.
All in One SEO (AIOSEO)
Open All in One SEO → Sitemaps → General Sitemap, confirm that the sitemap is enabled, and click Open Sitemap. The default URL is /sitemap.xml. Follow AIOSEO’s sitemap setup guide for its current controls.
SEOPress
Open SEO → XML – HTML Sitemap, enable XML sitemaps, and select View your sitemap. The default URL is /sitemaps.xml/, with a plural “sitemaps.” SEOPress also redirects several common alternative paths. See SEOPress’s XML sitemap guide.
WordPress.com
WordPress.com provides a sitemap at /sitemap.xml. Its dashboard instructions use Jetpack → Traffic, or Jetpack → Settings → Traffic, followed by the Sitemaps section. This differs from the self-hosted WordPress core URL. Check WordPress.com’s sitemap documentation for your site’s setup.
Why is my WordPress sitemap not working?
The sitemap returns a 404
First confirm the active sitemap provider. A missing /wp-sitemap.xml does not mean your sitemap is broken if an SEO plugin serves a working index elsewhere. Then check its sitemap toggle. For native sitemaps, review Settings → Reading → Search engine visibility: WordPress disables them by default when the site discourages indexing. Keep that setting intentional for private or staging sites. See WordPress’s sitemap enablement rules.
If the correct endpoint still returns 404, save Settings → Permalinks without changing the permalink structure. For native WordPress, testing https://example.com/?sitemap=index can help distinguish a rewrite problem from disabled sitemap generation. For Yoast or Rank Math, the equivalent diagnostic URL is usually /?sitemap=1. If the query URL works but the normal URL does not, ask your host to check rewrite rules. See Yoast’s rewrite troubleshooting.
The sitemap looks blank or shows an XML error
View the response source. Valid XML with a broken stylesheet can look blank even though the sitemap data is present. An empty response, HTML error page, or malformed XML is a different problem. Clear the relevant sitemap cache and investigate plugin or theme conflicts in a controlled environment. Rank Math’s troubleshooting guide covers blank output and cache conflicts.
The sitemap returns 403, a login page, or a bot challenge
Check the hosting firewall, CDN, and security-plugin logs for the sitemap request. The index and its child sitemaps must be accessible to the search engines you want to use them. Fix the specific access rule; disabling site-wide security is not a useful permanent solution.
Pages are missing from the sitemap
Check the relevant child sitemap first, then the page’s publication status and the provider’s inclusion settings. SEO plugins may omit private pages, pages marked noindex, or pages canonicalized to another URL. Yoast documents these sitemap exclusion rules. If you need a complete inventory, compare the sitemap with a crawl and a CMS export using our guide to finding all pages on a website.
How to validate and submit your WordPress sitemap
Before submitting, open the index and at least one child sitemap while logged out. Confirm that they return XML, use the correct domain and HTTPS version, and list the intended page URLs. The XML Sitemap Validator can help check the file’s structure.
- Open Google Search Console and select the verified property that covers your sitemap URL.
- Go to Sitemaps and enter the sitemap index URL. If the interface already shows a URL prefix, enter the remaining path.
- Submit the index. You generally do not need to submit every child sitemap separately.
- Revisit the report for fetch or parsing errors. If it says Couldn’t fetch, check the exact submitted URL, public accessibility, and server response.
The Search Console Sitemaps report shows whether Google could read the sitemap. That is separate from whether individual pages are indexed. Google’s sitemap guidance makes clear that submitting a sitemap does not guarantee crawling or indexing.
WordPress sitemap FAQs
Can I find my WordPress sitemap without a plugin?
Yes. Try /wp-sitemap.xml on a public site running WordPress 5.5 or later. If a plugin has replaced the native sitemap, use that provider’s URL instead.
What is the difference between sitemap.xml and sitemap_index.xml?
The filename alone does not tell you what is inside. A sitemap index lists other sitemaps; a URL sitemap lists pages. Look for <sitemapindex> or <urlset> in the XML. An index named sitemap.xml can be valid. Google supports both XML sitemaps and sitemap indexes.
Why can’t I find sitemap.xml in my WordPress files?
WordPress and many SEO plugins generate sitemap responses dynamically. A working public sitemap URL does not require a physical XML file in your hosting file manager. Use the browser URL or the plugin’s sitemap controls to inspect it.
Do I need to resubmit my sitemap after every new post?
Usually not. Your sitemap provider updates the content, and Google revisits submitted sitemaps on its own schedule. Submit a new URL if the sitemap address changes, and investigate persistent errors in Search Console.
Should I install another sitemap plugin if I already use Yoast or Rank Math?
Start by checking the sitemap feature in your existing plugin. Adding another generator is usually unnecessary and can make ownership of sitemap routes harder to troubleshoot. Use one primary provider unless you have a specific reason for separate sitemaps.
Next step: find the correct URL with the Sitemap Finder, validate it, and submit the working index in Search Console.