How to Submit a Sitemap to Google Search Console (Step-by-Step)

Learn how to find your XML sitemap and submit it to Google Search Console in under 5 minutes, plus fixes for the most common sitemap errors.

Getting your website into Google search results starts with one simple task: submitting your XML sitemap to Google Search Console. It takes less than five minutes, yet many site owners skip it and then wonder why their pages take weeks to appear in search. In this guide, you will learn exactly how to find your sitemap, submit it correctly, and fix the most common errors that show up afterward.

What Is an XML Sitemap?

An XML sitemap is a file that lists every important URL on your website in a format search engines can read. Think of it as a table of contents for your site. Instead of forcing Google to discover your pages one link at a time, the sitemap hands over a complete map: every post, page, and image you want indexed, along with the date each one was last modified.

Most sitemaps live at a predictable address, such as yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml. Modern platforms generate them automatically, so you almost never need to create one by hand.

A typical XML sitemap listing site URLs. Image: HirnSpuk / CC BY-SA 4.0

Why Submitting Your Sitemap Matters

  • Faster discovery: Google finds new posts within hours instead of days or weeks.
  • Complete coverage: pages with few internal links still get crawled.
  • Crawl diagnostics: Search Console reports errors, so you know when something blocks indexing.
  • Priority signals: last-modified dates help Google recrawl updated content sooner.

Submitting a sitemap does not guarantee that every URL gets indexed – Google still evaluates quality – but it removes the discovery bottleneck entirely, which is the biggest hurdle for new websites.

Step 1: Find Your Sitemap URL

WordPress (no plugin)

Since WordPress 5.5, every site ships with a built-in sitemap at yourdomain.com/wp-sitemap.xml. If you use no SEO plugin, this is your URL.

Yoast SEO

Yoast replaces the default with yourdomain.com/sitemap_index.xml. You can confirm it under Yoast SEO → Settings → APIs → XML sitemaps.

Rank Math

Rank Math also uses yourdomain.com/sitemap_index.xml. Check it under Rank Math → Sitemap Settings, where you can also choose which post types to include.

Shopify, Wix, and Squarespace

All three generate a sitemap automatically at yourdomain.com/sitemap.xml. There is nothing to configure.

Whichever platform you use, paste the URL into your browser first. If you see a page of links or raw XML, it works. If you get a 404, your sitemap is not active yet – enable it in your SEO plugin before continuing.

Step 2: Open Google Search Console

Go to search.google.com/search-console and sign in with your Google account. If you have not added your website yet, click “Add property” and choose one of two verification methods:

  • Domain property – covers every subdomain and protocol. Verification happens through a DNS record you add at your domain registrar.
  • URL prefix – covers one exact address, such as https://yourdomain.com. You can verify with an HTML file upload, a meta tag, or your Google Analytics account.

For most bloggers, the URL prefix method with a meta tag is the fastest route. SEO plugins like Yoast and Rank Math have a field where you paste the verification code, so you never touch your theme files.

Step 3: Submit the Sitemap

Once your property is verified, the actual submission takes seconds:

  • Open your property in Search Console.
  • Click Sitemaps in the left sidebar, under Indexing.
  • In the “Add a new sitemap” field, type the path of your sitemap – for example, sitemap_index.xml. Note that Google fills in your domain automatically.
  • Click Submit.

The status column will show “Success” once Google fetches the file. If you submitted a sitemap index, Google will list each child sitemap it discovered – posts, pages, categories – underneath it.

Step 4: Confirm Google Can Read It

A successful fetch is not the end of the story. Click on the submitted sitemap to see how many URLs Google discovered. Over the following days, compare that number with the Pages report under Indexing. Newly discovered URLs move through stages: discovered, crawled, and finally indexed. A healthy site shows most sitemap URLs reaching the indexed stage within a week or two.

Common Sitemap Errors and Fixes

“Couldn’t fetch”

This usually means the URL is wrong or your server blocked Googlebot. Open the sitemap URL in an incognito window. If it loads for you, check your firewall or security plugin for bot-blocking rules, then resubmit.

“Sitemap could not be read”

The file returned invalid XML. This happens when a plugin conflict injects HTML into the response, or a caching plugin serves a stale copy. Disable caching for the sitemap URL and revalidate.

“URL not allowed”

Your sitemap lists URLs from a different domain or protocol than the verified property. Make sure the sitemap uses the same https:// version of your domain that you verified.

Indexed count much lower than submitted

This is normal for new sites. Google indexes selectively based on perceived quality and demand. Focus on internal linking and content depth; the ratio improves as your site earns trust.

Sitemap Best Practices

  • Keep only canonical, indexable URLs in the sitemap – no redirects, no noindexed pages, no 404s.
  • Let your SEO plugin update the sitemap automatically on every publish. Never maintain it manually.
  • Exclude thin archives such as tag pages if they add no search value.
  • One submission is enough. You do not need to resubmit after every new post – Google rechecks the file regularly.
  • If your site exceeds 50,000 URLs, use a sitemap index that splits URLs across multiple files.

FAQ

How often should I submit my sitemap to Google?

Only once. After the first submission, Google automatically recrawls your sitemap on its own schedule. You only need to resubmit if you change the sitemap URL itself.

How long does it take Google to index pages from a sitemap?

New pages on an established site are often indexed within hours to a few days. Brand-new domains can take one to several weeks while Google builds trust in the site.

Does submitting a sitemap improve rankings?

Not directly. A sitemap affects discovery and crawling, not ranking. However, faster indexing means your content starts competing in search sooner.

Should I include images in my sitemap?

If images matter to your traffic – product photos, infographics, tutorials – yes. Yoast and Rank Math include image data automatically, which helps images appear in Google Images.

What is the difference between sitemap.xml and sitemap_index.xml?

A sitemap index is a parent file that links to multiple child sitemaps. SEO plugins use an index so posts, pages, and categories each get their own file. Submit the index and Google handles the rest.

Once your sitemap is submitted, the natural next step is understanding how long Google takes to index a website – and what to do when specific pages stall at crawled but not indexed.

Final Thoughts

Submitting a sitemap to Google Search Console is the highest-value five minutes you can spend on technical SEO. It costs nothing, prevents discovery problems before they start, and gives you a diagnostic dashboard for your entire site. Do it once, check the Sitemaps report monthly, and spend the rest of your energy where it counts: publishing content worth indexing.

Related Reading