---
title: "#sitemap-xml — seo-mcp"
description: "SEO tips tagged Sitemap XML."
url: "https://seo-mcp.io/tag/sitemap-xml"
---

# #sitemap-xml

3 published tips tagged “Sitemap XML”.

- [Add prerendering and a sitemap endpoint](https://seo-mcp.io/t/add-prerendering-and-a-sitemap-endpoint) — SvelteKit renders pages on the server by default, so crawlers already receive HTML, but every request still needs a render. Enable prerendering for content routes with export const prerender = true and generate a sitemap from src/routes/sitemap.xml/+server.ts so the file exists at build time.
- [Add sitemap.xml with accurate lastmod](https://seo-mcp.io/t/add-sitemap-xml-with-accurate-lastmod) — An XML sitemap lists canonical, indexable URLs so crawlers discover them without following every link. Build it from the content store, use absolute URLs that match the page canonical, and set lastmod only when content meaningfully changed. Split large sites into child sitemaps under an index.
- [Track competitor content through their sitemap.xml](https://seo-mcp.io/t/track-competitor-content-through-their-sitemap-xml) — Open the competitor's sitemap.xml to list every page they have published. If the file does not load, read robots.txt for the Sitemap: line, then open each sitemap it lists. Copy the URLs into a sheet and use them to spot content they have launched that is not ranking yet.
