---
title: "Sitemap"
description: "A file that lists the pages on your site for search engines. What a sitemap.xml holds, what it cannot promise, and how Vunora keeps yours current."
author: "Vimanyu Aggarwal"
date: "2026-12-01"
canonical: "https://vunora.ai/glossary/sitemap"
---

# Sitemap

A sitemap tells search engines which pages your site has. Google's [sitemaps overview](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview), read on 1 December 2026, says "A sitemap is a file where you provide information about the pages, videos, and other files on your site". The same page says a sitemap helps most when "Your site is new and has few external links to it", and that "it doesn't guarantee that all the items in your sitemap will be crawled and indexed."

## An example

The smallest sitemap.xml lists one address. The [sitemaps.org protocol](https://www.sitemaps.org/protocol.html) requires a `<urlset>`, a `<url>` for each page and a `<loc>` inside it. Every other tag is optional.

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

One file holds up to 50,000 addresses. On a vibe coded site, the usual problem is a file written once at launch. Each new page your team publishes is missing from it until someone edits the file by hand.

Lovable's docs, read on 1 December 2026, say Lovable "creates a `robots.txt` with every new project, but not always a sitemap". They add that "Google reads the sitemap from your live site, so pages that exist only in unpublished code are not included."

[How to build and submit sitemap.xml on a React or Vite site](https://vunora.ai/blog/sitemap-xml-react-vite) covers the file, the robots.txt line that points to it, and Search Console.

## In Vunora

The [SEO checklist](https://vunora.ai/product/seo) check "sitemap.xml lists every page" passes when "Every published page is in sitemap.xml". When it fails, "Fix sitemap.xml" sends one change to your repository, as a commit or a pull request:

- **Vite with React.** It adds `scripts/vunora-sitemap.mjs` and runs it before your build command, so each build writes a sitemap.xml with every page and post you publish in Vunora.
- **Next.js.** On the App Router it writes `app/sitemap.ts`. On the Pages Router it writes `pages/sitemap.xml.ts`.

If your repository already has a fixed `public/sitemap.xml`, Vunora asks you to delete it first, because a fixed file goes out of date.

## Limits

- Vunora does not submit your sitemap to Search Console. You do that once, in Search Console.
- A sitemap asks Google to look. Google decides whether to index each page.

## Related terms

- [robots.txt](https://vunora.ai/glossary/robots-txt): the file that names where your sitemap lives.
- [Canonical URL](https://vunora.ai/glossary/canonical-url): list each page under the address you want kept.
- [Static site generation](https://vunora.ai/glossary/static-site-generation): pages built ahead of time, along with their sitemap.
