What a Sitemap Is and Why It Matters
An XML sitemap is a file that lists the pages on your website so search engines can discover them. It is not a magic ranking file, and it does not guarantee indexing, but it removes guesswork. Instead of waiting for Google to stumble across a new post through links, you hand it a list and say: here is everything worth looking at, with the date it last changed.
For a new site with few incoming links, this matters a lot. Google finds new pages mainly by following links. When nobody links to you yet, discovery can be slow. A submitted sitemap shortens that wait and, just as importantly, gives you a report that shows whether Google actually read the file and how many pages it knows about.
This guide covers finding your sitemap URL, verifying your site in Google Search Console, submitting the sitemap, reading the results, and fixing the errors that appear most often.
Do You Already Have a Sitemap?
Most WordPress sites generate a sitemap automatically. Check these URLs, replacing the example domain with your own:
| Setup | Sitemap URL to try |
|---|---|
| WordPress 5.5 or newer, default | yourdomain.com/wp-sitemap.xml |
| Rank Math SEO plugin | yourdomain.com/sitemap_index.xml |
| Yoast SEO plugin | yourdomain.com/sitemap_index.xml |
| All in One SEO | yourdomain.com/sitemap.xml |
Open the URL in a browser. A valid sitemap looks like a plain page of links or a list of sub-sitemaps, not a browser error. If you see a 404, the plugin generating it may be disabled, or you may need to enable the sitemap module in your SEO plugin settings.
If your site genuinely has no sitemap, install an SEO plugin such as Rank Math or Yoast SEO and enable the sitemap feature. Both generate one automatically, and both let you exclude content you do not want indexed.
Step 1: Prepare Before You Submit
Three quick checks save a lot of confusion later.
- Confirm the sitemap lists your real pages. Open it and click two or three entries to make sure they resolve to live pages, not redirects or errors.
- Make sure noindex pages are excluded. A sitemap that includes pages you have told Google not to index sends mixed signals. Most SEO plugins handle this, but verify after changing settings.
- Decide between domain and URL prefix verification. This is explained in the next section, and it affects how much data you can see.
Step 2: Add Your Site to Google Search Console
Go to Google Search Console and sign in with a Google account. Click “Add property”. You will be offered two types:
- Domain property. Covers every variation of your domain, including http, https, www and non-www subdomains. Verification requires a DNS record, which you add at your domain registrar or hosting DNS panel.
- URL prefix property. Covers one exact prefix, such as https://www.yourdomain.com. Verification can be done with an HTML file upload, an HTML tag in your site’s head section, or through your SEO plugin if it integrates with Search Console.
Domain property is the better long-term choice because it aggregates all your traffic regardless of protocol or subdomain. If you cannot access DNS, use a URL prefix property and verify with your SEO plugin, which takes about two minutes.
After adding the property, verification is usually instant. If it fails, check that the verification file is still present, that your site is not blocking the verification request through a firewall or security plugin, and that the exact URL you entered matches the verified one, including www.
Step 3: Submit the Sitemap
Inside Search Console, open “Sitemaps” in the left menu. In the field that says “Add a new sitemap”, enter only the part that comes after your domain. For example, if your sitemap is at https://yourdomain.com/sitemap_index.xml, type sitemap_index.xml and click Submit. Do not paste the full URL, and do not include spaces.
Google will fetch the file within a few minutes to a few hours. The status shown next to the sitemap is what you should watch:
- Success: Google read the file.
- Couldn’t fetch: Google could not reach or read it. Usually a URL, redirect or blocking issue.
- Discovered URLs: the number of pages in the file that Google found.
Step 4: Read the Results Correctly
Two numbers get confused constantly, so keep them separate in your mind.
Discovered URLs means Google saw those addresses in the file. Indexed pages means Google chose to store them in its index and can show them in search. These numbers rarely match, and they do not need to. A large gap between them is normal for new sites and is not automatically a problem.
To see how many pages are actually indexed, use the “Pages” report in the Indexing section. Read the reasons listed for excluded pages. Common entries include “Crawled, currently not indexed”, “Discovered, currently not indexed” and “Duplicate, Google chose a different canonical”. The first two usually mean the pages are low priority or too new, and they resolve with time and better content. The third usually means your own pages compete with each other, which is a signal to improve internal linking or consolidate thin content.
Step 5: Check That Google Actually Read the File
Two methods confirm this quickly.
- In the Sitemaps report, click your sitemap. Google shows when it was last read and how many URLs were found. If the last read date keeps updating over days, Google is re-checking it, which is a good sign.
- Open the URL Inspection tool and inspect one of your newer posts. If it shows as indexed or discovered, indexing is working.
Sitemap Best Practices
- List only canonical, indexable URLs. Never include redirects, error pages or noindex pages.
- Keep under fifty thousand URLs and fifty megabytes uncompressed per file. Larger sites should split into multiple sitemaps, which plugins handle automatically through an index file.
- Do not include every image and video on very large sites without a reason; it inflates crawl work.
- Update the last modified date only when the content genuinely changes.
- Mention the sitemap in robots.txt so crawlers find it even without Search Console, with a line such as: Sitemap: https://yourdomain.com/sitemap_index.xml
- Keep one sitemap system. Two plugins generating two sitemaps creates noise and confusion.
What a Sitemap Cannot Do
It is worth being clear about the limits, because expectations cause a lot of frustration.
- It does not guarantee indexing. Google decides what to include based on quality and usefulness.
- It does not improve rankings directly. It improves discovery, which indirectly helps new content get seen sooner.
- It does not fix a site with server errors, blocking rules or duplicate content problems.
- It does not replace internal linking. Both work together; sitemaps are a backup route, not the main one.
Common Problems and Fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Couldn’t fetch | Wrong URL, redirect, or blocked by firewall | Confirm the exact sitemap URL, check for redirects, allow Googlebot in security settings |
| Sitemap found but URLs not indexed | Thin, duplicate or new content | Improve content depth, add internal links, wait for re-crawl |
| Sitemap includes noindex pages | Plugin configuration mismatch | Enable indexing of those pages or exclude them from the sitemap |
| Old deleted pages still listed | Cached sitemap | Clear site and CDN cache, then resubmit |
| Two sitemaps for the same site | Overlapping plugins | Disable one generator and resubmit the remaining sitemap |
How Often Should You Resubmit?
Once is enough in most cases. Google re-reads submitted sitemaps on its own schedule, and it finds new URLs as your sitemap updates. Resubmitting daily does not speed anything up and can look like spam. The genuine reasons to resubmit are: you changed your sitemap URL, you fixed an error, or you migrated the site and the structure changed. If you want faster indexing for a specific important page, use the URL Inspection tool and request indexing for that single URL instead.
Sitemap Index Files Explained
Walk into a large site’s sitemap and you will often see a file that does not contain page URLs at all. Instead, it contains a list of other sitemaps: posts, pages, categories, images, authors. This is a sitemap index file, and it exists because sitemaps have limits of fifty thousand URLs and fifty megabytes per file.
You do not need to create one by hand. Every major SEO plugin generates an index automatically once your site is large enough to need it. What matters is that you submit the index file, not individual sub-sitemaps, because Google follows the index and reads everything inside it.
A common mistake is submitting several sub-sitemaps manually after the index already covers them, which creates duplicate reports and wasted crawl requests. If your SEO plugin has generated an index, submit only that. If your site is small enough that a single sitemap covers everything, that is equally fine.
Submitting to Bing and Other Search Engines
Google is not the only consumer of your sitemap, and the work involved is minimal.
- Open Bing Webmaster Tools and either add your site manually or import it directly from Search Console, which saves verification.
- Submit the same sitemap URL under the Sitemaps section.
- If you target a specific region, consider regional search engines that support sitemap submission, though for most publishers Google and Bing cover the vast majority of organic traffic.
One practical reason to bother with Bing: its indexing can be quicker for some types of content, and the traffic is real, especially for technical and business queries. Ten minutes of setup is a fair trade.
Measuring Whether the Submission Helped
Submitting a sitemap does not produce instant results, so give it four to six weeks before judging the outcome. Three numbers tell the story.
- Discovered URLs: should roughly match the number of pages you expect Google to know about.
- Indexed pages: should grow slowly, especially for a new site.
- Impressions in the performance report: the first sign that content is being shown, even before clicks appear.
If discovered URLs stay at zero for more than a week, the file is not being read, and the fix is in the previous section on fetch errors. If discovered URLs are high but indexing is stuck, the issue is content quality, duplication or site-level trust rather than the sitemap itself.
Keep a simple log: date submitted, URLs discovered, pages indexed. Watching that log for three months teaches you more about indexing behaviour than any article, including this one.
Frequently Asked Questions
Do I need to submit a sitemap if my site is small?
It is a good idea. Small and new sites benefit the most because they have fewer internal links pointing to new content and fewer external links overall.
Should I include category and tag pages?
Include category pages if they are useful and well maintained. Leave out tag pages on small sites, where they typically create thin duplicate content.
My sitemap shows zero discovered URLs. What now?
Open the sitemap URL in a browser and confirm it loads valid XML with entries. If it is empty, your SEO plugin may be excluding everything, often because a module is disabled or a post type is set to noindex.
How long does indexing take?
New pages usually take a few days to a few weeks to appear. It varies with site age, content quality and crawl demand. There is no setting that forces it.
Does Bing or another search engine need this too?
Yes, if you care about that traffic. Bing Webmaster Tools accepts the same sitemap, and it can even import your site directly from Search Console to save time.
Sitemap Questions Without Simple Answers
Should I submit my sitemap to Google every month?
No. Google re-reads a submitted sitemap on its own schedule, and new URLs appear as your sitemap updates. Resubmitting regularly does not speed up indexing and can look like spam. Resubmit only when the sitemap URL changes, an error is fixed, or the site structure has been rebuilt.
My sitemap is submitted and successful, but pages are still not indexed. Why?
Because indexing is a quality decision made page by page. Being in a sitemap guarantees discovery, not inclusion. Common reasons for exclusion include thin content, near-duplicate pages, content that does not satisfy search intent, and pages that are simply too new to have earned any signals yet. Improve the pages and keep publishing.
Do I need a sitemap for a brand new domain with ten pages?
It is still worth submitting, because it guarantees Google knows about all ten pages rather than discovering them one internal link at a time. The benefit is small but the effort is a few minutes.
Final Thoughts
Submitting a sitemap is one of the few SEO tasks with a clear beginning and end. Verify your property, check the sitemap URL, submit it once, and confirm Google read it. After that, the real work is publishing pages worth indexing. A sitemap makes sure nothing gets lost along the way; it cannot make a thin page valuable.