# WordPress XML sitemap

> Find WordPress

Canonical: https://scaplet.com/seo/wordpress/xml-sitemap

Guide WordPress WordPress · Discovery

Find WordPress's core sitemap index, check which content it exposes, submit the right URL to Search Console, and avoid duplicate sitemap plugins.

4 min

read

4

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

WordPress core exposes `/wp-sitemap.xml` on sites using pretty permalinks and references it in the generated `robots.txt` of a public site. Check its public post types and taxonomies, submit the index in Search Console, and review fetch errors. A sitemap helps discovery but does not guarantee indexing.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fxml-sitemap%20(%22WordPress%20XML%20sitemap%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fxml-sitemap%20(%22WordPress%20XML%20sitemap%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fxml-sitemap%20(%22WordPress%20XML%20sitemap%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fwordpress%2Fxml-sitemap%20(%22WordPress%20XML%20sitemap%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 4 minutes.

1. [Find the sitemap WordPress already serves 01](#find-the-sitemap-wordpress-already-serves)
2. [Choose the sitemap plugin only for a real gap 02](#choose-the-sitemap-plugin-only-for-a-real-gap)
3. [Submit the index and read the result 03](#submit-the-index-and-read-the-result)
4. [Keep sitemap URLs clean 04](#keep-sitemap-urls-clean)

_01_How it works

## Find the sitemap WordPress already serves

Start at `https://your-domain.example/wp-sitemap.xml`. WordPress core has generated an [XML sitemap index](/glossary/xml-sitemap) since WordPress 5.5. With pretty permalinks disabled, the core index URL can instead use the query form `/?sitemap=index`. WordPress also references its sitemap index from the generated `robots.txt`, so inspect `/robots.txt` on the public canonical hostname if the first path does not resolve. If Settings > Reading has Discourage search engines from indexing this site checked, core disables its sitemaps; the `wp_sitemaps_enabled` filter can override that.

1. 1

### Open the live index

Request `/wp-sitemap.xml` on the public domain, including the preferred [HTTPS](/glossary/https) and host version. Check that it returns XML rather than a theme page, login screen, 404, or CDN error.
2. 2

### Inspect the child sitemap list

Open the index links and confirm they represent the public content you intend to expose. Core creates sitemaps for public, publicly queryable post types and taxonomies, plus author archives and the homepage by default.
3. 3

### Compare with the site's search intent

Look for draft-like, private, duplicate, or low-value URL groups that should not be offered as search landing pages. A sitemap is a discovery list, so clean its source configuration rather than repeatedly resubmitting the same bad URLs.

Do not assume a missing file in the WordPress file manager means the sitemap is absent. Core can generate the XML route dynamically. Conversely, a sitemap plugin, SEO plugin, host, or CDN may change which index the public site serves. Use the response from the real domain as the source of truth and check for duplicate sitemap systems before adding another one.

_02_Decide from the live output

## Choose the sitemap plugin only for a real gap

What you find

### Core sitemap is healthy and has the intended URLs

Next step

Keep it and submit the index

Reason

Google says CMS platforms often already make a sitemap available

What you find

### A plugin serves a different index

Next step

Choose one owner and verify its output

Reason

Two sitemap systems can create duplicate or conflicting URL lists

What you find

### A public custom post type is missing

Next step

Check whether it is publicly queryable and review plugin or theme configuration

Reason

Core's default scope depends on public queryability

What you find

### The index returns an error

Next step

Check the live response, rewrite rules, caching, and host logs

Reason

Submitting a broken index will not repair its generation

WordPress's core implementation has developer hooks for extending sitemap providers and filtering entries. Use those only when the content model requires a deliberate adjustment. For most site owners, the better first step is to check whether the content type is public, whether the live response is cached, and whether the SEO plugin has taken over sitemap generation.

_03_How it works

## Submit the index and read the result

**A submitted sitemap is a hint**Google says sitemap submission does not guarantee that every listed URL will be crawled or indexed. Use it to improve discovery; use [URL Inspection](/glossary/url-inspection-tool) and the [Page indexing report](/glossary/page-indexing-report) to diagnose what happened to a specific page.

Google's XML sitemap limits are 50 MB uncompressed or 50,000 URLs per file. Larger sites split the URLs across files and list them in an index. WordPress core divides its output into child sitemaps, and its developer note documents a default 2,000 URL entries per sitemap, with a filter for changing that value. Google's protocol limit and WordPress's implementation limit describe different layers.

1. 01

### Verify the matching property

Use the [Search Console](/glossary/google-search-console) property for the exact canonical domain and protocol you are checking. Confirm the property has access to the version that serves the sitemap.
2. 02

### Submit the index URL

Open the [Sitemaps report](/glossary/sitemaps-report), enter `wp-sitemap.xml`, and submit it. Google can also discover a sitemap from the `Sitemap:` line in `robots.txt`; WordPress core adds its index there by default.
3. 03

### Review processing details

Return to the Sitemaps report and check whether Google fetched the index and whether it reports parsing errors. Then inspect a representative URL separately to diagnose canonical, robots, or content issues.
4. 04

### Fix URL eligibility at the source

Include canonical URLs that you want considered for search. Remove accidental [noindex](/glossary/noindex) or [duplicate URL](/seo-issues/duplicate-pages) variants from the publishing setup, then let the generated sitemap update before checking again.

_04_Checklist

## Keep sitemap URLs clean

1. 01 Use absolute canonical URLs in sitemap entries, with the same HTTPS and hostname version the site uses in canonical tags.
2. 02 Keep redirected URLs out of the sitemap when the replacement is the page you want Google to show. Point internal links to the destination directly.
3. 03 Do not treat `<priority>` or `<changefreq>` as ranking controls. Google says it ignores both values in XML sitemaps.
4. 04 Only use `<lastmod>` when it reflects a verifiable, significant page update. Google says it uses the value if it is consistently and verifiably accurate; changing a sitewide date on every deploy makes the signal less useful.
5. 05 Check the sitemap after changing a custom post type, taxonomy, permalink structure, or SEO plugin. The public index can change even when the admin settings look familiar.

For crawl rules that affect which content Google can fetch, see [WordPress robots.txt](/seo/wordpress/robots-txt). For the general protocol and submission details, see Google's [sitemap guide](/glossary/xml-sitemap) and [WordPress SEO overview](/seo/wordpress).

Sources · 4

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- wordpress.org
- google.com

1. 01 [New XML Sitemaps Functionality in WordPress 5.5 | Make WordPress Core](https://make.wordpress.org/core/2020/07/22/new-xml-sitemaps-functionality-in-wordpress-5-5/) make.wordpress.org · checked 2026-10-24
2. 02 [WP_Sitemaps_Index::get_index_url() | WordPress Developer Resources](https://developer.wordpress.org/reference/classes/wp_sitemaps_index/get_index_url/) developer.wordpress.org · checked 2026-10-24
3. 03 [Learn about sitemaps | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview) developers.google.com · checked 2026-10-24
4. 04 [Build and submit a sitemap | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) developers.google.com · checked 2026-10-24

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ What is the WordPress sitemap URL?

WordPress core uses `/wp-sitemap.xml` when pretty permalinks are enabled. Without them, the index can use `/?sitemap=index`. A plugin or host can change the public output, so verify the live URL.

_02_ Does WordPress create a sitemap automatically?

WordPress core has generated XML sitemaps since version 5.5. It includes public, publicly queryable post types and taxonomies by default, along with author archives and the homepage.

_03_ Should I submit wp-sitemap.xml to Google Search Console?

You can submit the index in the Sitemaps report to see fetch and processing status. WordPress also references the index from its generated robots.txt. Submission helps discovery but does not guarantee indexing.

## Keep learning

[All platform guides](/seo)

[Learn WordPress SEO CMS](/seo/wordpress) [Related Google Search Console Crawling and indexing](/glossary/google-search-console) [Read next WordPress Google Search Console setup CMS](/seo/wordpress/search-console) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in platform guides
[Yoast SEO breadcrumbs](/seo/yoast/breadcrumbs) [Yoast meta descriptions](/seo/yoast/meta-tags)

More in WordPress SEO
[AMP on WordPress](/seo/wordpress/amp) [Google Analytics on WordPress](/seo/wordpress/google-analytics) [How to put WordPress in maintenance mode](/seo/wordpress/maintenance-mode) [WordPress 404 page](/seo/wordpress/404) [WordPress AI crawlers](/seo/wordpress/ai-crawlers) [WordPress breadcrumbs](/seo/wordpress/breadcrumbs) [WordPress canonical tags](/seo/wordpress/canonical-tags) [WordPress Core Web Vitals](/seo/wordpress/core-web-vitals) [WordPress favicon](/seo/wordpress/favicon) [WordPress Google Search Console setup](/seo/wordpress/search-console) [WordPress hreflang and multilingual SEO](/seo/wordpress/hreflang) [WordPress HTTPS](/seo/wordpress/ssl) [WordPress image SEO](/seo/wordpress/image-seo) [WordPress internal links](/seo/wordpress/internal-links) [WordPress lazy loading](/seo/wordpress/lazy-loading) [WordPress noindex](/seo/wordpress/noindex) [WordPress redirects](/seo/wordpress/redirects) [WordPress robots.txt](/seo/wordpress/robots-txt) [WordPress SEO plugins](/seo/wordpress/seo-plugin) [WordPress SEO titles and meta descriptions](/seo/wordpress/title-and-meta) [WordPress speed optimization](/seo/wordpress/page-speed) [WordPress structured data](/seo/wordpress/structured-data) [WordPress www redirect](/seo/wordpress/www-redirect) [WordPress XML sitemap](/seo/wordpress/xml-sitemap)

Terms on this page
[XML sitemap](/glossary/xml-sitemap) [HTTPS](/glossary/https) [Google Search Console](/glossary/google-search-console) [Sitemaps report](/glossary/sitemaps-report) [Noindex](/glossary/noindex) [URL Inspection tool](/glossary/url-inspection-tool) [Page indexing report](/glossary/page-indexing-report)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
