2Marketing logo
FREE CHECK Are AI engines recommending you? See if ChatGPT, Gemini and Perplexity mention your business. Check AI visibility →
Classic SEO + AI search, one team647-558-8875
Industry-specific strategies, not templatesSEOoptimizationWebwebsite designAll industries →
Call us now647-558-8875 Free proposalReply within 24h Book a call30 min, free Free AI reportSee how you rank
TALK TO A STRATEGIST 647-558-8875 info@2marketing.com Canada · USA · UAE · Europe
Call Book Free ProposalNo obligation
Glossary · XTechnical SEOUpdated November 25, 2026

XML Sitemap

Dr. Salman SabirReviewed by the 2Marketing team1 min read
Definition

An XML sitemap is a file that lists the important URLs on a website so search engines can find and crawl them more efficiently.

It is usually found at an address such as example.com/sitemap.xml or, in WordPress SEO plugins, sitemap_index.xml, which links to several smaller sitemaps for posts, pages and other content types.

What to include

Include only URLs you want indexed:

  • Pages that return a 200 status.
  • The canonical version of each page.
  • Pages without a Noindex Tag tag.

Leave out redirects, error pages, duplicates, thin archive pages and URLs blocked by Robots.txt. A clean sitemap gives Google a trustworthy list of your key pages.

Technical limits and tags

  • Up to 50,000 URLs and 50 MB uncompressed per sitemap file. Larger sites use a sitemap index.
  • lastmod tells Google when a page last changed meaningfully. Google uses it if it is consistently accurate.
  • Google ignores the priority and changefreq tags.
  • Separate image, video and news sitemaps exist for specific content.

How to submit a sitemap

Add the sitemap URL in the Sitemaps report in Google Search Console and in Bing Webmaster Tools, and list it in robots.txt. Search Console then shows how many URLs were discovered and any errors.

Do you need one?

Small, well-linked sites can be crawled fine without a sitemap. It helps most on new sites with few backlinks, large sites, sites with deep pages that are hard to reach through links, and sites that publish often.

A sitemap helps discovery but does not guarantee Indexing. Pages still need to be useful and linked internally. We check sitemaps in every technical SEO audit.

FAQ

What is the difference between an XML sitemap and an HTML sitemap?

An XML sitemap is for search engines. An HTML sitemap is a regular page listing links for visitors, which can also help crawling.

How often should I update my sitemap?

It should update automatically whenever you publish or change content. WordPress SEO plugins handle this for you.