A sitemap helps a search engine discover pages you want to appear in search results. Submitting one does not mean every URL will be indexed by Google. Think of a sitemap as an organised list of important URLs for the search engine, not an indexing button.
This guide covers how to prepare a file, submit it through Google Search Console and check it afterwards. It is based on Google Search Central’s official guide to building and submitting a sitemap.
What to prepare before submitting
First check whether your CMS already creates a sitemap. Google notes that many content management systems generate one automatically, while plugins are available for others. If a file already exists, open it and inspect its URLs before creating another manually.
Include the full addresses of pages you want in search. That means a URL with protocol and domain, not just the path after the domain. Google will attempt to crawl the URLs as written in the file.
Consider page versions. Google generally shows canonical URLs in results, and a sitemap can influence the preferred address. If mobile and desktop versions use different URLs, Google recommends listing one; if you include both, identify them as corresponding versions.
Choose a sitemap format
Google supports several formats and does not prefer one over another. The choice depends on what information you want to provide and how the site is built.
- XML sitemap is a versatile option. Besides page addresses, it can be extended with data about images, video, news and localised versions.
- RSS or Atom can work if the CMS already generates a feed. A feed usually contains only recent URLs, so it will not necessarily replace a full sitemap.
- A text file is a simple list of URLs for HTML and other indexable text pages. It should contain one complete URL per line and nothing else.
For most editorial sites, I would first inspect the XML file already generated by the CMS: it is flexible and supports additional data. If you only need to list text pages, a plain text format also works.
Check size, encoding and location
A single sitemap can contain at most 50,000 URLs and be no larger than 50 MB uncompressed. If either limit is exceeded, split it into multiple files. You can create a sitemap index and submit it to Google instead of listing each sitemap separately.
The file must use UTF-8 encoding. Google recommends placing sitemaps at the site root: without submission through Search Console, a sitemap applies only to URLs under its parent directory. A root location can cover the whole site.
For XML, ensure tag values are valid: special characters must be escaped according to XML rules. Use lastmod when the modification date consistently and accurately reflects actual updates. Google ignores priority and changefreq, so I would not spend time fine-tuning them for Google Search.
How to submit a sitemap through Search Console
Once the file is ready and available at its URL, submit it in Google Search Console:
- Open Google Search Console and select your website property.
- Go to the Sitemaps section and enter the prepared sitemap URL.
- Submit the file. If you have several sitemaps, submit them separately or use a sitemap index.
- Return to the Sitemaps section to check the processing status.
The sitemap URL is the address of the file containing the list of pages, not the URL of an individual article or home page. If your CMS generates it automatically, use the URL in its settings or documentation. Open the file in a browser before submitting to confirm it is the sitemap rather than an error or another page.
What to check after submission
First review the sitemap’s processing status in Search Console. If there is a problem, compare the message with the file: did you submit the correct URL, is the file available, does it match the chosen format and are the size and URL limits respected?
Then check the contents. Open a few addresses from the sitemap and confirm they are the intended pages and URL versions. If the sitemap is generated automatically, the correction may belong in the source settings rather than in a manually edited file.
For a large site, splitting sitemaps can help for reasons beyond technical limits. Google notes that separate files can also be used to monitor search performance for each sitemap in Search Console. This can make it easier to examine groups of pages separately.
Why sitemap processing is not the same as indexing
Keep two questions separate: could Google process the file, and did a specific page enter the index? The first concerns the sitemap as a source of addresses; the second concerns an individual URL. Successful submission does not guarantee that Google will index every listed page or show it in search results.
Likewise, including a URL in a sitemap is a signal about the preferred canonical address, not an unconditional instruction to show it. After checking the file, assess important pages separately rather than drawing conclusions about the whole site from sitemap status alone.
Conclusion
My practical approach is simple: find or create the sitemap, keep the necessary full URLs, check the format and file limits, then submit it through Search Console. Check processing afterwards and correct the sitemap source if necessary. A sitemap helps tell Google about pages, but does not replace checking their indexing separately.


