XML Sitemap for a WordPress Site: Do You Need One, How to Check It and Submit It
A sitemap lists the addresses you want Google to consider. What Google says it does, which one WordPress or Rank Math makes, what to check inside it, how to submit it in Search Console and how to read the Sitemaps report.
zabil
When a new website is not showing on Google, the advice is often to submit a sitemap. This guide covers what Google says a sitemap can and cannot do, which one your WordPress site probably has already, what to check inside it, how to submit it and how to read the Sitemaps report. It sits alongside our beginner’s guide to Google Search Console and our list of reasons a website is not showing on Google.
What Google says a sitemap is for
Google’s overview says: “A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them.” Search engines read it to crawl your site more efficiently.
Google is just as clear about the limit: “A sitemap helps search engines discover URLs on your site, but it doesn’t guarantee that all the items in your sitemap will be crawled and indexed.” Its build guide calls submitting one “merely a hint”.
So a sitemap lists the addresses you want Google to consider. It does not force a page into search results.
Do you need one?
Google’s overview says “If your site’s pages are properly linked, Google can usually discover most of your site.” It says you might need a sitemap if your site is large or “Your site is new and has few external links to it”, and might not if it is “about 500 pages or fewer” and comprehensively linked. Its verdict: “in most cases, your site will benefit from having a sitemap.”
Our reading: a new business site fits the “new” case, and a sitemap costs nothing once WordPress makes it for you. The work is checking that it is right.
Which sitemap your WordPress site has
Google says “If you’re using a CMS such as WordPress, Wix, or Blogger, it’s likely that your CMS has already made a sitemap available to search engines and you don’t have to do anything.” On WordPress there are two possible sources. We read the code of WordPress 7.1.5 and Rank Math 1.0.280 on 20 November 2026 to see what each does:
- WordPress itself builds a sitemap at
/wp-sitemap.xml. It only runs when the site is public: the code reads theblog_publicoption, which the “Discourage search engines from indexing this site” tickbox under Settings > Reading controls. By default it lists up to 2,000 URLs per sitemap page, and each entry’s last-modified date comes from the post’s own modified date. It also adds aSitemap:line to the robots.txt that WordPress generates, when the site is public. - Rank Math, if you use it, switches the WordPress sitemap off and sends
/wp-sitemap.xmlto its own/sitemap_index.xmlwith a 301 redirect. By default it leaves out posts you have set to noindex. On our own site, which runs Rank Math, that is exactly what happens: robots.txt lists the index and the WordPress address redirects to it.
Other SEO plugins differ, so check yours. If two different sitemaps are live, our suggestion is to submit only one.
What to check inside it
Open the sitemap in a browser and read the addresses, not just whether the file loads. Google’s guidance gives the rules:
- Use “fully-qualified, absolute URLs in your sitemaps”: the full address, including https and the domain.
- “Include the URLs in your sitemap that you want to see in Google’s search results.” Google says it “generally shows the canonical URLs in its search results”, so list the address you prefer. Our guide to duplicate content and canonical URLs explains which that is.
- List final addresses. Google’s error list says “We suggest that you replace any redirect URLs in your sitemaps with the URLs that should actually be crawled.” Our guide to 301 and 302 redirects covers where redirects come from.
- Keep to one domain. Google’s error list says to “Check that the URLs all begin with the same domain as your sitemap location.” A staging address in a live sitemap is the version of this we would look for first.
Our reading of the second rule: a page you have told Google not to index, or one that now returns an error, does not belong in the list. We cover those cases in how to keep a page out of Google and in 404 errors and deleted pages.
Google says it ignores priority and changefreq values, so do not spend time on them. It uses the last-modified date “if it’s consistently and verifiably” accurate, and says “an update to the copyright date is not” a significant change.
How to submit it
Google lists three routes: the Sitemaps report in Search Console, the Search Console API, or a line in robots.txt. For robots.txt the line looks like Sitemap: https://example.com/my_sitemap.xml, and Google says “there’s no limit to the number of sitemaps you can include in your robots.txt file.”
For the Sitemaps report, Search Console’s help page says “You cannot actually upload a sitemap to Google.” Submitting means telling Google where the file is. You need owner permissions on the property. Without them, the page says you can list the sitemap in robots.txt instead. The steps:
- Open the sitemap address in a browser and check it loads.
- Run a live URL Inspection on it and check that the page fetch is successful, which shows Googlebot can reach it without a login.
- In the Sitemaps report, paste the address into “Add a new sitemap” and submit.
- Come back later and check the status.
You do not need to resubmit after every new post. Google says that once a sitemap has been crawled it “will periodically recrawl the sitemap at a pace unrelated to the regular site crawl.”
Reading the Sitemaps report
The status column has three values. “Success” means “All URLs will be queued for crawling.” “Has errors” means the file could be read but has problems, and the URLs that parsed cleanly are still queued. “Couldn’t fetch” means Google could not get the file.
Google’s reasons for “Couldn’t fetch” include a robots.txt rule that blocks the sitemap, an unresolved manual action, a wrong address that returns a 404, and server problems. Typical parsing errors in plain English:
- URLs not followed: redirects, or relative addresses where full ones are needed.
- URL not allowed: addresses on a different domain or protocol from the sitemap.
- Parsing error: Google says this is often caused by “an unescaped character in the URL”, such as an ampersand.
Three things in the report trip people up:
- “Discovered pages” counts the URLs Google parsed from the file. Google says “There is no guarantee that a page URL discovered in a sitemap has been or will be crawled or indexed by Google.” To see how many are indexed, filter the Page indexing report by sitemap.
- The report only lists sitemaps submitted through it or the API. Google says it “does not show any sitemaps discovered through a robots.txt reference or other discovery methods.”
- Sitemaps are listed per property, so Google tells you to check you are not “confusing http/https, or www/non-www properties.”
Deleting a sitemap from the report does not undo anything: “Google won’t forget the sitemap or any URLs listed in it.”
A short checklist
- You know which plugin produces your sitemap, and you have opened it.
- Every address is absolute, on your real domain, on https and a final address, not a redirect or a staging copy.
- Pages you have set to noindex or deleted are not listed.
- It is submitted once in the Sitemaps report and shows Success, and robots.txt lists it too.
- You compare Discovered pages with the number of pages you expect, then use the Page indexing report for what is indexed.
If you would like us to check your sitemap, Search Console and indexing, tell us about your business. Our SEO service page lists what we cover, and you can reach us on the contact page.
Sources: Google Search Central, What Is a Sitemap (updated 10 December 2025) and Build and Submit a Sitemap (updated 8 July 2026); Search Console Help, Sitemaps report; read on 20 November 2026. The WordPress and Rank Math behaviour comes from reading the source code of WordPress 7.1.5 and Rank Math 1.0.280.
Karya terkait
Di mana ini telah diterapkan.
Institusi & Organisasi
Departemen MIPA UNHAS
Universitas Hasanuddin
Website resmi departemen yang menyajikan informasi akademik, berita, dan kegiatan, dibangun agar staf dapat mengelolanya sendiri tanpa bantuan teknis.
Institusi & Organisasi
Admission ITH
Institut Teknologi BJ Habibie
Platform pendaftaran mahasiswa baru yang menangani seluruh proses pendaftaran secara online, mulai dari pengisian formulir, unggah dokumen, hingga pembayaran awal.
Institusi & Organisasi
Desa Kalimporo
Desa Kalimporo
Platform profil desa yang menyajikan struktur pemerintahan, data kependudukan, potensi lokal, dan program desa kepada khalayak yang lebih luas.
Baca lebih lanjut
Artikel terkait.
SEO
Updating Old Blog Posts for SEO: What Google Says About Publish Dates, Last Updated Lines and Fake Freshness
What Google says about byline dates, visible Last updated lines, dateModified and sitemap lastmod, why changing a date on an unchanged post is a…
SEO
FAQ Rich Results Are Gone From Google: Is FAQ Schema Still Worth Adding to Your WordPress Site?
Google stopped showing FAQ rich results on 7 May 2026. What Google has said since 2023, why Search Console FAQ impressions dropped, whether to…
SEO
Video SEO for a Small Business Website: Watch Pages, Thumbnails and Why Your Embedded Video May Not Be Indexed
What Google's video documentation says in plain terms: why a blog post with an embedded video is not a watch page, how YouTube embeds,…