What is SEO and how does it work on Google?
Published
SEO explained in simple terms: how Google finds and ranks websites, what SEO involves, how long it takes and where to start.
Learn who needs a sitemap.xml file, how it is structured, which pages to include and how to submit it through Search Console.

sitemap.xml is an XML file containing a list of page URLs you want to appear in Google. A sitemap helps crawlers discover new and updated pages faster, especially on large websites or new domains with few incoming links. Remember that a sitemap is a hint, not an instruction. Google decides when and which URLs to crawl, and its documentation explicitly states that crawling every URL is not guaranteed.
According to Google documentation, small websites with up to around 500 pages may not need a sitemap if all sections are accessible through links from the homepage. The crawler can follow the menu and discover everything. However, creating a sitemap costs almost nothing and is useful in many cases:
Many content management systems and website builders generate sitemaps automatically. Check site.com/sitemap.xml: if it displays a list of links, the file already exists and you only need to check its contents.
Some websites have a "Sitemap" page listing sections for visitors. This is an HTML sitemap designed for people, and it works as an additional navigation menu. An XML file is intended for crawlers and is not normally visible to visitors. One does not replace the other: an HTML sitemap is useful for large catalogs where finding the right section can be difficult, while an XML file is useful for almost any website that wants its pages indexed faster. A small brochure website only needs an XML file and a clear navigation menu.
A sitemap consists of a root urlset tag and a series of url elements. Each element must contain a loc tag with the page URL. Other tags are optional. A simplified entry looks like this:
Rules from Google's documentation:
A closer look at lastmod. The date should change when you update the main content, prices, structured data or links. If your CMS assigns today's date to every page each time it generates the sitemap, Google stops trusting it. Changing the year in the website footer is not a reason to update the date either.
A single sitemap can contain up to 50,000 URLs or be up to 50 MB in size when uncompressed. If there are more pages, split the file into smaller sitemaps and combine them in a sitemap index file. Submit the index to Google instead of a dozen separate files.
Splitting sitemaps can also make sense for smaller websites. An online store can maintain separate sitemaps for categories, products and articles. Search Console then helps identify which group has problems. For example, articles may be indexed successfully, while Google has crawled half the product pages without indexing them. This helps you identify where to investigate.
Besides XML, Google accepts RSS or Atom feeds and plain text files with one URL per line. XML is more convenient for most websites because it supports modification dates and extensions for images and videos.
Include only URLs you want to appear in search results. A good check is to make sure every URL in the file returns an HTTP 200 status code, is canonical and is not blocked from indexing.
Do not include:
Including a page with a noindex tag sends conflicting signals to Google: "this page is important" and "do not show it". The crawler spends unnecessary time on the page, and additional warnings appear in reports.
There are two main methods, and you can use both.
Large websites can also submit sitemaps programmatically through the Search Console API. However, the old method of pinging Google through a dedicated URL no longer works. Google announced its retirement in 2023. If a plugin offers to "notify Google" in its settings, this has no effect on indexing.
After submission, a status appears in the report. A successful status means the file has been fetched and read. If Google finds errors, it will still process the URLs it was able to read. If Google cannot fetch the file, check whether it opens in your browser and whether crawler access is blocked. Remember that removing a sitemap from the report does not make Google forget the URLs it contained.
Once a month, open the Search Console report and compare the number of submitted and indexed pages. A large gap is a reason to investigate page quality and duplicate content.
If Google cannot find all your pages or sitemap errors are piling up in Search Console, order an SEO audit from UAH 3,500. We will check your sitemap, robots.txt, canonical URLs, redirects and indexing, then provide a clear list of fixes.
For ongoing search optimization, we offer SEO services from UAH 10,000/month. If you are planning a new website, contact us about website development. We build websites using our own WID CMS, with the domain and hosting registered in your name.
Rate this article
Published
SEO explained in simple terms: how Google finds and ranks websites, what SEO involves, how long it takes and where to start.
Published
We explain how domains relate to websites and hosting, how domain names are structured, which domain extensions are available and how to avoid losing your domain.
Published
We use examples to explain how UX differs from UI, which has a greater impact on leads, and how to test your website's usability.
Published
What Claude AI by Anthropic can do, how to get started, which models and plans are available, and how it differs from ChatGPT.