How to submit a sitemap to Google Search Console

Find your sitemap on WordPress or Shopify, submit it in Search Console, read the status, fix Couldn't fetch, and see what a sitemap cannot do.

Published 1 December 2026

Find your sitemap address, open Search Console, go to Sitemaps, paste the address into Add a new sitemap and click Submit. You are only telling Google where the file is. Nothing is uploaded, because the file already sits on your website. WordPress and Shopify normally create it for you, so there is usually nothing to build.

Find your sitemap address

Put your own domain in place of example.com, then open the address that fits your site:

WordPress:     https://example.com/wp-sitemap.xml
Shopify:       https://example.com/sitemap.xml
Any website:   https://example.com/robots.txt

WordPress has made its own sitemap since version 5.5, but an SEO plugin may replace it. In Yoast SEO, go to Yoast SEO > Settings > Site features, find XML sitemaps under Technical SEO and click View the XML sitemap. Let only one plugin make the sitemap.

Shopify makes one main file that links to smaller ones for products, collections, blogs and pages. Submit only the main file. Google cannot read it while the store is in private mode. Connect your domain to Shopify first, so you submit the right address.

On other systems, look in robots.txt for a line that starts with Sitemap:. If there is none, search your website builder's help pages.

A working sitemap opens as a list of links or as plain code. Fix an error page, login page or blank page before you submit.

Submit it in Search Console

You need owner access. If your site is not in Search Console yet, use our Roman Urdu setup guide.

  1. Choose the correct website in the property selector. The www and non-www addresses can be two different properties.
  2. Paste the sitemap address into the inspection bar at the top and press Enter. Click Test live URL and check that Page fetch says Successful. Ignore a noindex message about the sitemap file itself. Yoast adds one on purpose, and Google can still read the file.
  3. Open Sitemaps in the Indexing section.
  4. Paste the full address into Add a new sitemap. If your domain is already filled in, type only the last part, such as sitemap.xml.
  5. Click Submit.

Google should fetch the file straight away. Visiting its pages takes longer, and Google may skip some.

What the status means

  • Success: Google read the file without errors.
  • Sitemap had X errors (or Has errors): Google read part of the file. Click the row to see each problem.
  • Couldn't fetch: Google could not get the file. Use the checks below.

Click a sitemap to see Discovered pages. This is how many addresses Google found in the file, not how many are in Google. For that, click See index coverage.

Example with made-up numbers: 42 discovered pages and 30 indexed pages means 12 are not indexed. That can be fine if they are old or duplicate pages. If your main service page is one of them, find out why.

Fix Couldn't fetch, in this order

  1. Check the address. Open it in a private browser window. A 404 page means the address is wrong or the sitemap is off. Check the spelling, https and www.
  2. Check WordPress. Go to Settings > Reading. If Discourage search engines from indexing this site is ticked, WordPress also turns off its own sitemap. Untick it if the site is ready for the public, then save.
  3. Check robots.txt. A line such as Disallow: /sitemap blocks every address that starts with /sitemap. Take a backup before you edit the file.
  4. Open the Manual actions report. Google does not read sitemaps while your site has an unresolved manual action.
  5. Ask your host. A login, a "coming soon" page or a firewall can stop Google. Keep the firewall on, and ask the host to let the real Googlebot through.
  6. Give it time. A server problem can be temporary. Google also says it may have little demand to fetch a sitemap.

Google keeps trying for a few days, then stops. After a fix, submit the sitemap again. If someone else looks after the site, send them this message with your address:

Search Console says Couldn't fetch for https://example.com/sitemap.xml. Please check that it opens without a login, that robots.txt does not block it, and that the firewall allows the real Googlebot. Tell me what you changed so I can submit it again.

If it says Has errors

  • URL not allowed: the sitemap lists pages on a different address, for example with www when the sitemap has none. Use one version everywhere.
  • Empty sitemap: the file has no page links. Check which pages your plugin includes.
  • Parsing error: Google could not read the code, often because of a symbol in a page address. Send the details to your developer.

What a sitemap will not do

  • It does not make Google index every page, and Google says it does not raise your ranking.
  • It does not hide the pages you leave out. To keep a public page out of Google, use noindex, and do not block that page in robots.txt too, or Google cannot see the noindex. Keep private information behind a login.
  • Google ignores the priority and changefreq values, so do not pay anyone to set them. It uses lastmod, the last updated date, only when it is reliably correct.

If the status is Success but pages are still missing, see why a website is not showing on Google.

Common questions

Does a small website need a sitemap?

Often not. Google says a site with about 500 pages or fewer may not need one, if every page can be reached by links from the home page. It can still help a new site that few other websites link to.

Should I submit it again when I add a product?

Usually no. If your system updates the sitemap by itself, Google will come back to read it. Submit it again after a big change, or after you fix a problem that stopped Google from fetching it.

Can I add a sitemap without Search Console?

Yes. Take a backup of robots.txt, then add a line such as Sitemap: https://example.com/sitemap.xml. Google can find it there, but it will not appear in your Sitemaps report, so you cannot see its status.

How long until my pages appear on Google?

Nobody can give you a date. Google says crawling can take from a few days to a few weeks, and it does not promise to index every page. For one or two important pages, use Request indexing in URL Inspection.

Sources

Read next

Check a domain name