XML Sitemap: What It Does and How to Submit One to Google
An XML sitemap is a file listing the pages you want in Google Search. Google calls it "merely a hint" and caps each file at 50,000 URLs or 50MB uncompressed. It helps discovery on a big or poorly linked site. Seed Light submits one with every build.

Somebody has told you your site needs an XML sitemap, and probably that submitting one will fix your rankings.
The first half is often right. The second half is not, and Google's own documentation says so in plain words.
This guide covers what the file actually does, whether your site needs one, how to create and submit it, and the four mistakes that make a sitemap worse than having none.
Key Takeaways
- Google calls a sitemap "merely a hint". It does not promise to fetch the file or to crawl what it lists.
- Submitting is not indexing. Indexing stays a separate decision Google makes about each page.
- The limits are 50,000 URLs or 50MB uncompressed per file, whichever comes first.
- Two tags do nothing. Google ignores changefreq and priority, and reads lastmod only when it is consistently accurate.
- List canonical URLs only. A sitemap full of redirects and noindexed pages sends a worse signal than no sitemap.
What Is an XML Sitemap?
It is a file, usually at the root of your domain, listing the pages you want to appear in Google Search.
Each entry carries the page address and optionally the date it last changed. That is nearly all there is to it.
There is no description, no keyword and no ranking instruction anywhere in the format. People expect more from the file because of how it is sold, not because of what it contains.
The XML sitemap does one job well. That job is discovery, and it gives a crawler a list of addresses without relying on it finding every link.
What it does not do is argue for your pages. Google describes a sitemap as merely a hint, and says it does not guarantee the file will be fetched or the URLs crawled.

Why Most Small Sites Need One Less Than They Think
If every page on your site is reachable from the menu in a click or two, a crawler will find them without help.
The XML sitemap starts to matter in three situations. A site with hundreds of pages. A site where pages are not linked to each other. A new site that nothing links to yet.
The second one catches more small businesses than the first. A service page reachable only from a dropdown, or a location page nothing else points at, is exactly the kind of thing that sits unfound.
Most small business sites are none of those, and the file is still worth having, because it costs nothing and it gives you a reporting surface in Search Console.
What it will not do is rescue a page nobody links to and nobody wants. Sitemap SEO advice that promises otherwise is selling the hint as a guarantee.

How to Create and Submit an XML Sitemap
Five steps, and on most platforms the first two are already done for you.
Work through them in order. Checking what you already have before you install anything saves the most common wasted afternoon here, which is adding a second sitemap plugin to a site that was already publishing one.
1. Check whether you already have one
Try the usual addresses in a browser before you create anything. Most platforms generate a sitemap automatically and never mention it.
If one loads, you are looking at a list of your own URLs. Read a few and see whether they are the pages you would have chosen.
On WordPress an SEO plugin usually owns the file. On Shopify, Wix and Squarespace the platform generates it and gives you no setting at all. That is fine until you want something left out.

2. How to create a sitemap if nothing loads
There are three routes, and the right one depends on how your site was built rather than on your budget.
A platform setting, an SEO plugin, or a generated file you upload yourself. The first two keep the file current on their own, and the third does not.
That difference decides it. A file you generated by hand is accurate on the day you made it and quietly wrong a month later, after you have published three pages and deleted one.

3. Decide what belongs in it
List the canonical version of each page you want in Search. Google asks for the canonical URL rather than every address that serves the same content.
Leave out anything you have noindexed, anything that redirects, tag archives nobody reads, and thank you pages.
A sitemap listing pages you have told Google to ignore is contradicting itself, and that is worse than submitting nothing.
The test is simple. For every address in the file, ask whether you would be pleased to see it as a search result. If the answer is no, it does not belong in the XML sitemap.

4. Open the file before you submit it
Load the address and read it. You are checking that it returns the file rather than an error page, and that the addresses use your live domain.
A sitemap left over from a staging site, still listing a temporary domain, is a surprisingly common find. So is one that returns a styled error page while looking fine in a browser tab.

5. Submit it in Search Console
Open the Sitemaps report, enter the path, and submit. The Google Search Console sitemap report then tells you when it was last read and how many URLs it found.
That count is the useful part. If it is far below your page count, the file is incomplete, and if it is far above, you are listing pages you did not mean to.
Submit the sitemap to Google once, then leave it. Resubmitting the same unchanged file does nothing, and there is no queue you move up by asking twice.

Sitemap SEO Ideas That Work Right Now
- Compare the URL count to your page count. The gap between them is the fastest audit of your own site you will ever run.
- Make lastmod honest. Google uses it only when it is consistently accurate, and says a copyright year change does not count as an update.
- Delete changefreq and priority. Google ignores both. They make the file longer and tell nobody anything.
- Split a large list. Past 50,000 URLs or 50MB uncompressed you need several files and a sitemap index tying them together.
- Submit the sitemap to Google once, not monthly. Resubmitting an unchanged file changes nothing and there is no queue you move up.
- Add the path to robots.txt. One line, and any crawler that reads the file finds the list without being told.
- Re-read it after a migration. This is when the old domain survives inside the file and nobody notices for months.

Sitemap, robots.txt and noindex Compared
Three files get confused with each other constantly, and they do different jobs. Knowing which one you actually need is most of sitemap SEO.
| Tool | What it says | What it cannot do |
|---|---|---|
| XML sitemap | These pages exist and are worth a look | Force anything to be indexed |
| robots.txt | Do not crawl these paths | Remove a page already in the results |
| noindex | Do not show this page in results | Work at all if the page is blocked in robots.txt |
That last row is the trap. Block a page in robots.txt and the crawler never reads the noindex on it.
The page can then stay in the results indefinitely, usually with no description under it, because Google knows the address exists and has never been allowed to look at what is on it.

Common XML Sitemap Mistakes
- Treating submission as indexing. Submitting tells Google the file exists. Each page is still judged on its own.
- Listing noindexed or redirecting pages. The file then contradicts the rest of your site. That is the one way a sitemap actively hurts.
- Letting a plugin list everything. Author archives, tag pages and attachment pages get swept in by default on most installs.
- Faking lastmod. A file that claims every page changed today teaches Google to ignore the field.
- Submitting and never looking again. The Google Search Console sitemap report shows errors for months if nobody opens it.
- Keeping a staging domain in the file. It survives migrations quietly and sends every crawler to the wrong host.

FAQs
What is an XML sitemap?
A file listing the pages you want to appear in Google Search, with the canonical address of each one. It is a discovery aid, not an instruction. Google describes a sitemap as merely a hint and does not promise to fetch the file or crawl what it lists.
Do I need a sitemap?
Not always. A small site where every page is linked from the menu is usually found without one. It earns its place when the site is large, when pages are poorly linked to each other, or when the site is new and has few links pointing at it from elsewhere.
How big can an XML sitemap be?
Google caps each file at 50,000 URLs or 50MB uncompressed, whichever comes first. Past that you split the list across several files and tie them together with a sitemap index file. Most small business sites never come close to either limit.
Do changefreq and priority do anything?
No. Google ignores both values entirely. They survive in generated sitemaps because the format still allows them, and most plugins write them out of habit rather than for any reason. The one value Google does read is lastmod, and only when it is consistently and verifiably accurate across your site.
Does submitting a sitemap get my pages indexed?
No, and this is the most common misunderstanding about the file. Submitting tells Google the sitemap exists and nothing more. Indexing stays a separate decision Google makes about each page on its own merits, so a page listed in your sitemap can still be left out of the results entirely.
Conclusion
An XML sitemap is a useful, boring file. Have one, keep it honest, and read the count in Search Console once a month.
Most of the value is in that last habit rather than in the file itself. The count is a free weekly audit of what your site is actually publishing, and almost nobody opens it.
What it will never be is the reason a page ranks. If someone sells you a sitemap as a ranking fix, they are selling you a hint.
If you would rather have the technical side handled alongside the site itself, see how we approach SEO work.









