Skip to main content
SEO/AEO/GEO

XML Sitemap

Sitemap

Portrait of Lukas Horvath, co-founder of Roelu Studio
Lukas HorvathCo-founder

What is XML Sitemap?

An XML sitemap is a structured file that lists all the URLs on a website you want search engines to crawl and index. Submitted to Google Search Console and Bing Webmaster Tools, the sitemap helps search engines discover content efficiently, understand which pages are most important, and pick up new pages faster. It typically lives at /sitemap.xml and includes metadata like last modified date and priority.

Why it matters

Search engines find most pages by following links. But on a large site, deeply nested pages, new posts, and pages with few internal links can sit undiscovered for weeks. An XML sitemap fixes that. It hands search engines a direct list of what to index. The cost is essentially zero — every modern CMS generates one automatically. The benefit is faster indexing of new content and confidence that nothing important is being missed. It is the first thing checked in any SEO audit, and the easiest item to get right.

How it works

Your CMS or framework generates the XML sitemap automatically — Next.js, Astro, WordPress, Sanity all support it out of the box. The file lists every public URL with optional metadata: lastmod (when it last changed), changefreq (how often it updates), and priority (relative importance). You submit the sitemap URL to Google Search Console and Bing Webmaster Tools. Search engines then crawl it regularly and check for new or updated pages. For large sites, you split the sitemap into multiple files (one per content type, for example) and link them from a sitemap index. The sitemap should never include noindex pages, redirects, or 404s — keep it clean.

  • Robots.txt

    SEO/AEO/GEO

    A small file at the root of your site that tells search engine crawlers which pages they can and can't access — useful for keeping junk pages and crawler traps…

  • Indexing

    SEO/AEO/GEO

    The process search engines use to store and organize web pages so they can show up in results — if your page isn't indexed, it can't rank, and most sites have…

  • Technical SEO

    SEO/AEO/GEO

    The plumbing of SEO — making sure search engines can crawl, render, and index your site quickly and cleanly, so your content actually has a chance to rank…

  • Canonical URL

    SEO/AEO/GEO

    A tag that tells search engines which version of a page is the original when duplicates or near-duplicates exist, so ranking signals consolidate on one URL…

  • The way the paths on your website are organized — like /pricing or /case-studies/acme — designed to be readable, predictable, and useful for both search…

  • SEO Audit

    SEO/AEO/GEO

    A structured review of a website's SEO health — covering technical setup, on-page content, backlinks, and rankings — to find what's broken, what's missing, and…