# Sitemap.xml: Give Crawlers a Clean List of Important URLs

> Why XML sitemaps matter, which URLs to include, and what to avoid before launch.

Canonical: https://softwareontheweb.com/tools/launch-readiness-checker/sitemap-xml

A sitemap does not guarantee indexing, but it helps crawlers discover the URLs you care about.

It is especially useful for new sites, deep pages, and evolving content sets.

## What It Is

An XML sitemap is a machine-readable file listing canonical URLs that should be crawled.

```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
  </url>
</urlset>
```

## Why It Matters

- It helps new or less-linked pages get discovered faster.
- It reinforces the canonical public URL set.
- It supports operational clarity when many URLs exist.

## Best Practices

1. Include only canonical, indexable, public URLs.
2. Keep the file reachable at `/sitemap.xml` or submit a sitemap index.
3. Update the file as meaningful URLs change.

## Common Mistakes

- Including redirected or noindex pages.
- Listing staging or duplicate URLs.
- Publishing an outdated sitemap.

## Quick Checklist

- Sitemap exists.
- URLs are canonical and public.
- No broken or blocked entries.

## Final Takeaway

A clean sitemap is a practical discovery aid and a signal of deployment discipline.

## Related
- [Home](https://softwareontheweb.com/)
- [Topics](https://softwareontheweb.com/topics)
