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
| Platform | Add this to your address | What its help page says |
|---|---|---|
| WordPress, no SEO plugin | /wp-sitemap.xml | Built 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.xml | Turning on Yoast's sitemap switches off the WordPress one. Yoast SEO, Settings, Site features has a View the XML sitemap button. |
| Wix | /sitemap.xml | Created for every site and updated automatically. |
| Squarespace | /sitemap.xml | Automatic, and you cannot edit it. Pages hidden from search or behind a password are left out. |
| Shopify | /sitemap.xml | Automatic. 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
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
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
Open Sitemaps
In the left menu, under Indexing, choose Sitemaps.
- 4
Enter the address and submit
Under Add a new sitemap, type the address from the table and press Submit.
- 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.
Get help from Venbit
The Venbit Team
Web design & SEO, Mill Creek, WA
Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- Google Search Central: Build and submit a sitemap (creating, UTF-8, root location, robots.txt line, "merely a hint")
- Search Console Help: Sitemaps report (owner permission, statuses, robots.txt sitemaps not shown, resubmitting)
- Google Search Central Blog: Sitemaps ping endpoint is going away, June 26, 2023
- Google Search Central: How Google interprets robots.txt (the sitemap field)
- WordPress core: New XML sitemaps functionality in WordPress 5.5
- Yoast Help: Yoast SEO settings, Site features (XML sitemaps)
- Yoast Help: Sitemap error, Unsupported format HTML (the address ends in sitemap_index.xml)
- Wix Help: Submitting your sitemap and URLs directly to search engines
- Squarespace Help: Your site map
- Shopify Help: Finding and submitting your sitemap

