Skip to content

SEO007 · sitemap.xml

Severity: warning

The project must have a sitemap.xml — either at static/sitemap.xml or served via a src/routes/sitemap.xml/+server endpoint.

A sitemap.xml lists your URLs so search engines can discover and prioritise them, especially pages not well linked internally.

Add static/sitemap.xml or a src/routes/sitemap.xml/+server endpoint:

<?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>