How to submit an XML sitemap to Google
An XML sitemap is a file that lists the pages you want Google to find. To submit it, open Google Search Console, pick the property that covers your site, go to Sitemaps, and enter the sitemap’s URL. Submitting helps Google discover your pages. It doesn’t guarantee that Google will crawl or index them.
Does an XML sitemap help Google find your pages?
Yes. A sitemap gives Google another way to find your pages. It doesn’t guarantee Google will crawl or index them.
High confidence. Strong evidence, or the platform says so in its own docs. Based on 5 sources: 1 research paper, 1 observational study, 1 case study, 2 official docs.
What to do
Submit your sitemap in Search Console’s Sitemaps report. Update it when you add or remove URLs you want Google to index.
On this page
Where to find your sitemap and what it should list
Most sites keep the sitemapXML sitemapA file that lists the pages on your site you want search engines to find, so they don’t have to discover every page through links. at /sitemap.xml, so try example.com/sitemap.xml first. You can also open example.com/robots.txtrobots.txtA plain text file at the root of your site that tells search engine bots which pages they may crawl. and look for a line that starts with Sitemap:. Most CMSs, such as Shopify or WordPress with an SEO plugin, create one for you and show its URL in the SEO settings.
Larger sites often have a sitemap index. That’s a sitemap of sitemaps: one file that points to separate lists for products, blog posts and other sections. Open the index and at least one of the files it lists.
Each entry should be the full address of a page you want in Google, such as https://example.com/packs/trail-20/. Leave out campaign links, URLs that redirectredirectAn instruction that sends visitors and search engines from an old address to a new one. A 301 means the move is permanent., and pages marked noindexnoindexAn instruction on a page that asks search engines not to show it in search results. The page still loads for anyone with the link., a tag that tells Google to keep a page out of results. Open a few URLs from each file. Each one should load normally. If it has a canonical tagcanonical tagA line of code that tells Google which address is the main version of a page when the same content loads at several addresses., which names a page’s preferred URL, that tag should point to the same address.
Bottom line
Your sitemap should list only pages you’d be happy to see in Google. Remove anything that redirects, shows an error or carries noindex.
How do I submit a sitemap to Google?
Open Google Search ConsoleSearch ConsoleGoogle’s free dashboard for site owners. It shows which searches bring people to your site and flags problems Google finds. and choose the property that covers your sitemap’s URL. In the left menu, click Sitemaps. Paste the sitemap URL, or the sitemap index URL, into Add a new sitemap and click Submit.
When the report updates, check the Status column. Success means Google could read the file. The discovered pages count tells you how many URLs Google found in it.
If the status says Couldn’t fetch, open the sitemap URL in a private browser window. Look for a login page, an HTML error page, or a sitemap hosted on a different domain than the property. Fix the file, then submit it again.
- Open Sitemaps in the left menu.
- Success means Google could read the file. It doesn’t mean every page is indexed.
- How many pages Google found in the file. Check the Pages report to see which ones are indexed.
Bottom line
Don’t keep resubmitting a sitemap that fails. Fix whatever stops the file from loading, then submit it once.
Check whether Google indexed the pages
A successful submission only means Google read the file. CrawlingcrawlWhen a search engine’s bot visits a page and reads its content and links. (Google visiting a page) and indexingindexWhen a search engine stores a page so it can show up in results. A page can be crawled and still not be indexed. (Google storing it so it can appear in results) are separate steps, and Google decides on each page.
To check one page, paste its URL into the URL Inspection bar at the top of Search Console. It tells you whether the page is on Google. If you just fixed something, click Test live URL to see the current version.
Say a new collection page is discovered but still not indexed. Check that it loads normally and that shoppers can reach it from your store’s menu. Add a link to it from the parent category. Then check the Page indexing report after Google has had time to come back.
Bottom line
Read “Success” in the Sitemaps report as “Google read the file,” not “Google indexed my pages.” Use URL Inspection on the pages that matter.
Do sitemap priority and changefreq matter?
No. Google ignores the priority and changefreq fields, so you can skip them. The field Google can use is lastmod, the date a page last changed in a meaningful way, as long as it’s accurate.
Set lastmod when the page really changed, such as a rewritten product description or new structured datastructured dataCode that labels the information on a page, such as a product’s price or a business’s hours, so search engines can read it reliably.. If your CMS stamps every page with today’s date each time the site rebuilds, leave the field out until it can report real edits.
In this example, the date belongs to the Trail 20 pack page. Update it when that page changes. Adding a new product to the sitemap doesn’t change the pack’s date.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/packs/trail-20/</loc>
<lastmod>2026-04-15</lastmod>
</url>
</urlset> Bottom line
Only change a page’s lastmod date when the page itself changed. A date that updates on every build tells Google nothing.
See the evidence for Increase XML sitemap priority or change frequency
No. Google ignores the priority and changefreq tags in XML sitemaps. It can use lastmod when the date reliably reflects a real update.
Google’s XML sitemap documentation and Search Central announcement both explain that Google ignores the two tags.
- Build and submit a sitemap
Google explicitly says it ignores priority and changefreq. It separately states that it uses accurate lastmod values.
- Sitemaps ping endpoint is going away
Google’s 2023 announcement says it does not use either value and advises focusing on accurate lastmod metadata when available.
How to find orphan pages that only appear in your sitemap
An orphan pageorphan pageA page that no other page on your site links to, which makes it hard for people and search engines to find. is a page that no other page on your site links to. A sitemap can tell Google it exists, but visitors have no way to reach it.
To find orphans, crawl your site from the homepage with a tool like Screaming Frog, with sitemap crawling turned off. Compare the pages the crawl found with the URLs in your sitemap. URLs that only appear in the sitemap are your orphan candidates. A JavaScript menu or a missed subdomain can hide pages from a crawler, so open a few and check how people are meant to reach them.
Say a warranty guide only appears in the sitemap. Add a descriptive link to it from your support hub or product care page. Click the link yourself to make sure it works. Then check the warranty guide in URL Inspection to see whether Google has indexed it.
Bottom line
Every page in your sitemap should also be reachable through a normal link on your site. If it isn’t, link to it from the most relevant page.
See the evidence for List orphan pages in your XML sitemap
Yes. Google can find a page through your XML sitemap even when nothing on your site links to it. The page still has to be crawled and indexed before it can show in search.
Google documents sitemap discovery and recommends linking to important pages from elsewhere on the site.
- What is a sitemap?
Google says a sitemap can help it discover pages and calls out large sites where it is harder to make sure every page is linked. Sitemap listing allows discovery without ensuring a crawl or index entry.
- Page indexing report
Google names a submitted sitemap, an individual crawl request and a link it finds as routes to discovering a page. A known URL may still wait for a crawl or remain unindexed.
- Link best practices for Google
Google recommends giving every important page an incoming link from another page on the site.
The evidence
Google directly documents the discovery benefit. A historical study also found sitemap URLs missing from ordinary crawling. It gives no reliable estimate of the benefit for a site today.
- What is a sitemap?
Google says a sitemap can help search engines discover URLs, particularly on large or new sites. Discovery does not guarantee crawling or indexing.
- Sitemaps: Above and Beyond the Crawl of Duty
The authors found that the two discovery routes covered different sets of URLs and that Sitemaps supplied URLs missing from ordinary discovery crawl.
- Sitemaps report
Google says the report’s Discovered pages count is the number of page URLs parsed from the sitemap, with duplicates counted once. It explicitly says that reported URLs are not guaranteed to be crawled or indexed.
- How an Overlooked SEO Tactic Delivered 33% Traffic Growth [SaaS Case Study]
Uproer reported that most pages in IFTTT’s XML sitemap were not indexed before the internal linking work.
- How Google handles JavaScript throughout the indexing process
The authors reported that an up-to-date XML sitemap reduced differences in time to discovery across rendering patterns.
Every source above was checked against the original by a second reviewer. How we rate the evidence