An XML sitemap is a file that lists a web site’s webpages for engines like google like Google to find and add to their databases. It helps guarantee your pages can seem in search outcomes—conventional natural listings and AI-powered search experiences like Google’s AI Overviews and AI Mode.
A sitemap’s URL is often “area.com/sitemap.xml” or “area.com/sitemap_index.xml.”
You could find a website’s XML sitemap URL by Googling “sitemap web site:area.com filetype:xml.” Like this:

In case your web site doesn’t have a sitemap, create one with a sitemap generator instrument.
Google can discover your XML sitemap by itself, however submitting the sitemap to Google ensures it’s discovered. From there, Google crawls your sitemap and (hopefully) makes your pages present up for customers sooner.
Let’s stroll by way of the method of submitting a sitemap to Google.
How one can Submit a Sitemap to Google
To submit an XML sitemap to Google, observe the steps in our information to Google Search Console to attach your web site, after which proceed with the steps under.
Step 1: Navigate to Your Area in Google Search Console
Log in to your Google Search Console account and choose your web site from the drop-down within the prime left nook in case you have multiple.

Step 2: Go to the ‘Sitemaps’ Report
Go to the “Sitemaps” report in Google Search Console’s “Indexing” part within the left sidebar.

Step 3: Add Your Sitemap
To complete submitting your XML sitemap in Google Search Console, paste your sitemap’s URL into the “Add a brand new sitemap” part and click on “Submit.”

Google crawls submitted sitemaps as quickly as it will probably. Verify the “Sitemaps” report once more inside a couple of hours or days to see if Google processed your sitemap efficiently, which is indicated with the “Success” standing.

How one can Take away and Resubmit Sitemaps
In case your web site structure has modified or your sitemap has errors, take away and resubmit your sitemap utilizing these steps:
- Log in to your Google Search Console account
- For those who personal a number of websites, use the drop-down menu within the prime left nook to pick the proper web site
- Click on “Sitemaps” beneath the left sidebar’s “Indexing” part
- Within the “Submitted sitemaps” part, click on the road with the sitemap you wish to take away
- Click on the three-dot menu icon within the prime proper nook. Then, click on “Take away sitemap.”
- Verify the elimination by clicking the “Take away” button within the pop-up window that seems
- Anticipate Google to course of your request
Alternatively, delete the sitemap file out of your web site. Google will finally cease checking it if it’s unavailable for a sure interval.
In case your new sitemap has the identical URL as the unique sitemap, don’t delete your authentic sitemap. Merely resubmit it utilizing the steps above. Google will reprocess it.
For those who don’t have a sitemap (or don’t resubmit it), crawlers can nonetheless discover your web site’s pages. Nevertheless it might take longer. And a few pages might be neglected.
Sitemap Finest Practices
Comply with these greatest practices to assist Google course of your sitemaps effectively:
Embody Solely the Important Info
Your sitemap ought to include:
- The URLs you wish to have listed: Don’t embody pages that you simply don’t need listed
- The “lastmod” worth: This worth says when a web page was final meaningfully up to date. Search engines like google check with it to prioritize which pages to crawl.
- The “hreflang” values to your pages’ location-specific variants: In case your pages have localized variations, point out them within the sitemap to assist engines like google crawl every model
Don’t embody the next in your sitemap:
- The “changefreq” and “precedence” values: Google ignores these values
- Non-canonical URLs: Skip these URLs as a result of they’re different URLs to your most popular pages
- 3xx or 4xx URLs: You don’t need Google to index or rank these URLs, as they redirect customers to totally different pages (3xx standing code) or return client-side errors (4xx standing code)
Adhere to the Measurement Restrict
Maintain your sitemap inside Google’s dimension restrict—which means 50MB (uncompressed) or 50,000 URLs.
In case your sitemap exceeds Google’s dimension restrict, cut up it into a number of sitemaps.
Create A number of Sitemaps If Wanted
Create a number of sitemaps in case your sitemap exceeds Google’s dimension restrict or to have separate sitemaps for various content material sorts (e.g., a sitemap for pages, a sitemap for posts, and a sitemap for movies).
When you’ve got a number of sitemaps, you’ll must create a sitemap index file that lists all of your sitemaps. Like a desk of contents.
Right here’s Semrush’s sitemap index, as an example:

Submit the sitemap index URL to Google similar to you’d a daily sitemap.
Frequent Sitemap Points and How one can Repair Them
Frequent sitemap points embody:
- Formatting errors: There are errors in your sitemap file’s format, like lacking XML tags
- Incorrect URLs: Your sitemap comprises URLs that aren’t alleged to be in a sitemap (e.g., redirects and non-canonical URLs)
- Too giant: Your sitemap has exceeded Google’s dimension restrict
We analyzed 50,000 domains for our technical web optimization guidelines and located that about 31% of these domains had a minimum of one subject with their sitemaps. In different phrases, sitemap-related points are fairly widespread. (We captured extra information factors in our evaluation than what made it into the ultimate guidelines article.)
Discover and repair your sitemap points by navigating to the “Sitemaps” report in Google Search Console.
In case your sitemap has a “Couldn’t fetch” or “Sitemap has # errors” standing, Google gives recommended options.
Alternatively, audit your web site with Semrush’s Website Audit instrument to detect sitemap issues and different technical web optimization points like damaged hyperlinks and sluggish load speeds. Simply, configure and run your audit.
As soon as Website Audit has completed, click on the “Points” tab and seek for “sitemap.” An inventory of doable points together with your sitemap will seem.

When you’ve got a sitemap subject, click on the hyperlink with the variety of affected pages.

Clicking the hyperlink subsequent to the corresponding sitemap subject will open a brand new report with a full record of affected pages.

Then, click on the “Why and tips on how to repair it” hyperlink to get an in depth description of the sitemap subject and proposals for fixing it.
After you’ve fastened all of the sitemap-related points, run Website Audit once more to make sure they’re resolved.
Continuously Requested Questions
Discover solutions to a number of the commonest questions on sitemaps under.
Does Submitting a Sitemap Assure Pages Will Be Listed?
No, submitting a sitemap would not assure that Google will index your pages. A sitemap helps engines like google uncover your content material, however Google might select to not index pages which might be duplicates, low-quality, or marked with noindex tags.
If pages aren’t being listed (which you’ll test in Google Search Console) regardless of showing in your sitemap, deal with bettering content material high quality, fixing technical errors, and making certain your pages present distinctive worth to customers.
How Usually Ought to You Replace Your Sitemap?
It’s best to replace your sitemap everytime you add, take away, or considerably modify pages in your web site.
Most content material administration programs (CMS) do that mechanically if you publish new content material. If yours would not, you may must manually replace your XML file and resubmit it to Google Search Console.
Do You Want a Sitemap if Your Website is Small?
No, you don’t essentially must have a sitemap in case your web site is small, however it’s nonetheless advisable as a result of sitemaps turn into extra precious as your web site grows, are useful in case your pages aren’t well-connected by way of inside hyperlinks, and are helpful if you happen to incessantly add new content material.
What Does the ‘Couldn’t Fetch Sitemap’ Error Imply?
The “Could not fetch sitemap” error in Google Search Console means Google was unable to entry your sitemap file, sometimes as a consequence of server points (like downtime or sluggish response occasions), incorrect file paths, or entry restrictions (equivalent to blocked entry in robots.txt or a password-protected path).
Do You Have to Submit a Sitemap to Different Search Engines Moreover Google?
You don’t essentially must submit your sitemap to different engines like google given how broadly used Google is, however you’ll be able to optionally submit your sitemap to Bing (through Bing Webmaster Instruments).
Bing and different smaller engines like google will finally uncover your web site by way of crawling, so you’ll be able to skip submitting your sitemap to them.
Can a Unhealthy Sitemap Harm web optimization?
Sure, a foul sitemap that features damaged URLs, redirected pages, or pages marked with noindex tags can negatively have an effect on your web optimization as a result of it tells engines like google to crawl content material that should not be prioritized or cannot be listed.
Frequently assessment your web site with Semrush’s Website Audit instrument to make sure your sitemap is freed from errors. The instrument permits you to arrange weekly or month-to-month audits that mechanically scan your sitemap and provide you with a warning when points are detected.









