Internet & Web

What Is an XML Sitemap?

An XML sitemap lists canonical URLs that a website wants search engines to discover. It can include metadata such as the last meaningful modification date.

A sitemap is submitted through Search Console or referenced in robots.txt. Search engines use it as a discovery hint, while internal links and other signals still matter.

Two practical examples

Example 1. A static knowledge site lists its homepage, category hubs and original article pages.

Example 2. A large publisher uses a sitemap index to link multiple smaller sitemaps.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Only include indexable canonical URLs that return a successful response. A sitemap does not force Google to crawl or index every listed page.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in Internet & Web

Continue with related beginner-friendly guides.

How Does the Internet Work?Read guideHTTP vs HTTPSRead guide