Free auditStart free
GuideWordPress · Discovery

WordPress XML sitemap

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 withChatGPTClaudePerplexityGoogleAI Mode
01How 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 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 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.

02Decide 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.

03How it works

Submit the index and read the result

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 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, 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 or duplicate URL variants from the publishing setup, then let the generated sitemap update before checking again.

04Checklist

Keep sitemap URLs clean

  1. 01Use absolute canonical URLs in sitemap entries, with the same HTTPS and hostname version the site uses in canonical tags.
  2. 02Keep 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. 03Do not treat <priority> or <changefreq> as ranking controls. Google says it ignores both values in XML sitemaps.
  4. 04Only 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. 05Check 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. For the general protocol and submission details, see Google's sitemap guide and WordPress SEO overview.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • wordpress.org
  • google.com
  1. 01New XML Sitemaps Functionality in WordPress 5.5 | Make WordPress Coremake.wordpress.org · checked 2026-10-24
  2. 02WP_Sitemaps_Index::get_index_url() | WordPress Developer Resourcesdeveloper.wordpress.org · checked 2026-10-24
  3. 03Learn about sitemaps | Google Search Centraldevelopers.google.com · checked 2026-10-24
  4. 04Build and submit a sitemap | Google Search Centraldevelopers.google.com · checked 2026-10-24
Questions

Asked a lot.

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

01What 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.

02Does 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.

03Should 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane