How to Find Your Sitemap and Submit It to Google

The Venbit TeamNovember 30, 20265 min read
yourbusiness.com/sitemap.xml

sitemap.xml

The old ping address was retired in 2023

The short answer

To find your sitemap, add /sitemap.xml to your address, or open /robots.txt and look for a line starting with Sitemap. To submit a sitemap to Google, verify the site in Search Console, open Sitemaps, enter the address under Add a new sitemap and press Submit. The old ping address was retired in 2023.

Most websites already have a sitemap that the owner has never seen. The platform writes it, updates it when a page is added, and puts it at a fixed address. Which address depends on what the site runs on.

Where each platform puts the sitemap

PlatformAdd this to your addressWhat its help page says
WordPress, no SEO plugin/wp-sitemap.xmlBuilt in since version 5.5 and on by default. Switched off while the setting that discourages search engines is ticked.
WordPress with Yoast SEO/sitemap_index.xmlTurning on Yoast's sitemap switches off the WordPress one. Yoast SEO, Settings, Site features has a View the XML sitemap button.
Wix/sitemap.xmlCreated for every site and updated automatically.
Squarespace/sitemap.xmlAutomatic, and you cannot edit it. Pages hidden from search or behind a password are left out.
Shopify/sitemap.xmlAutomatic. The main file links to separate sitemaps for products, collections, blogs and pages.

Not sure which of these you are on? You can check what your website is built with in under a minute. One catch applies to the hosted builders: Squarespace and Shopify both say the sitemap cannot be read while the site is private or behind a site-wide password, so publish first.

If nothing loads, read robots.txt

Add /robots.txt to your address. A site can name its sitemap there on a line that starts with Sitemap, followed by the full address, and that line wins over any guess. WordPress adds the line for its built-in sitemap automatically.

Our free Sitemap Checker does this search for you. Given a website address it reads robots.txt, then tries /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and /sitemap-index.xml, and reports every file it finds with the number of pages each lists. A custom-built site that keeps its sitemap at an unusual address and does not name it in robots.txt will come back as "No sitemap found," so enter the sitemap's own address if you know it.

How to create a sitemap when there is none

On WordPress, Wix, Squarespace or Shopify you do not create one. If the table's address is empty, something is switched off: the WordPress search engine setting, or a site still in private mode. Fix that and the file appears.

A hand-built site is different. Google says that "for sitemaps with less than a few dozen URLs, you may be able to manually create a sitemap," and its rules are short: save the file as UTF-8, write every address in full starting with https://, and put the file at the root of the site, because a sitemap in a folder covers only that folder. Whether a small site needs the file at all is a fair question, and Google's answer is in do I need a sitemap.

When our checker finds no sitemap, it offers to build a starter file. It walks your site from the homepage along its own links and lists up to 40 pages that load and are not marked noindex or blocked in robots.txt. You download sitemap.xml and upload it to the root of the site. Past 40 pages, use your CMS or a plugin: a free crawl cannot list a large site, and a page that nothing links to will be missed.

Submit the sitemap in Search Console

  1. 1

    Verify the site

    Add your site at search.google.com/search-console and prove you own it. Google says you need owner permission on the property to submit a sitemap.

  2. 2

    Open the sitemap in a browser first

    Paste the full address into a new tab. You should see a list of your pages, not your homepage or an error.

  3. 3

    Open Sitemaps

    In the left menu, under Indexing, choose Sitemaps.

  4. 4

    Enter the address and submit

    Under Add a new sitemap, type the address from the table and press Submit.

  5. 5

    Read the status

    Google shows Success, Has errors or Couldn't fetch. For the last two, see how to fix a sitemap Google could not fetch.

Wix can do this step for you. Its help center says that when you connect the site to Search Console through the Wix SEO Setup Checklist, Wix submits the sitemap to Google automatically, and that this needs a Premium plan and a connected domain.

The robots.txt line reaches every other crawler

Search Console only tells Google. One line in robots.txt tells every crawler that reads the file:

Google requires the full address here, including https:// and the domain, and says it will find the sitemap the next time it crawls robots.txt. There is a side effect worth knowing: the Sitemaps report lists only sitemaps you submitted there, so a sitemap Google found through robots.txt will not appear in it.

You can skip pinging and resubmitting

Old tutorials and a few old plugins "ping" Google with the sitemap's address. Google announced on June 26, 2023 that it was retiring the sitemaps ping endpoint, that it would stop working in six months, and that requests to it would return a 404 error. Its reason: most of those submissions were spam.

You also do not need to submit again each time you add a page. Google rereads a submitted sitemap on its own schedule, and suggests a new request only after big changes to the file. Submitting is, in Google's words, "merely a hint," so a clean Success status still does not mean every page is indexed. If the site is on Squarespace and still missing from results, work through why a Squarespace site is not showing up on Google.

Test your sitemap

The free Sitemap Checker finds your sitemap, reads it the way Google does and lists what is wrong with it.

Questions & Answers

  • Google gives no fixed time. It says crawling the listed pages can take a while and that not every page may be crawled. The Sitemaps report shows a Last read date once Google has fetched the file, so check that column.

  • Not separately, if robots.txt names it. The Sitemap line in robots.txt is not tied to any one crawler, so other search engines can read it there.

Keep reading

Let’s grow your business

Tell us about your business. We would love to hear from you. Or call us at (425) 314-1415.

Join the local businesses that grow with us

  • Pawn Fathers
  • Protectee
  • Pinnacle Energy Services
  • See Clearwater Beach
  • Q Blinds
  • Domaine des Florines
  • Track & Field AI
  • Edgewater Commercial Park
  • Colour Play Salon
  • Houston Hurricane & Security