---
title: "robots.txt has no absolute Sitemap: line (seo/robots-sitemap-directive)"
description: "seo/robots-sitemap-directive: The Sitemap directive is how crawlers other than Google (Bing, AI search crawlers) find your sitemap; it must be an absolute…"
canonical: https://void-design.vercel.app/rules/seo/robots-sitemap-directive
lastModified: 2026-09-16
---

# robots.txt has no absolute Sitemap: line

`seo/robots-sitemap-directive` · severity **warn** · category SEO · detected by `void seo` and `void audit`

## Why it matters

The Sitemap directive is how crawlers other than Google (Bing, AI search crawlers) find your sitemap; it must be an absolute URL.

## How to fix it

Return sitemap: 'https://your.site/sitemap.xml' from app/robots.ts.

## References

- https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#addsitemap

## More seo rules

`void seo` reports 60 rules in this category. What search engines need from the raw response: status codes, titles and descriptions in <head>, self-referencing canonicals, one h1, crawlable links, Open Graph, icons, robots.txt and a sitemap with real dates.

- `robots-txt-missing` No robots.txt — [seo/robots-txt-missing](https://void-design.vercel.app/rules/seo/robots-txt-missing)
- `robots-txt-invalid` robots.txt serves HTML, exceeds 500 KiB, or has unparseable lines — [seo/robots-txt-invalid](https://void-design.vercel.app/rules/seo/robots-txt-invalid)
- `robots-blocks-all` robots.txt disallows the site for * / Googlebot / Bingbot — [seo/robots-blocks-all](https://void-design.vercel.app/rules/seo/robots-blocks-all)
- `robots-blocks-resources` robots.txt blocks JS/CSS needed to render — [seo/robots-blocks-resources](https://void-design.vercel.app/rules/seo/robots-blocks-resources)
- `sitemap-missing` No reachable sitemap — [seo/sitemap-missing](https://void-design.vercel.app/rules/seo/sitemap-missing)
- `sitemap-invalid` Sitemap isn't valid sitemap XML or exceeds protocol limits — [seo/sitemap-invalid](https://void-design.vercel.app/rules/seo/sitemap-invalid)
- `sitemap-url-invalid` Sitemap <loc> is relative or on another host — [seo/sitemap-url-invalid](https://void-design.vercel.app/rules/seo/sitemap-url-invalid)
- `sitemap-lastmod` <lastmod> invalid, in the future, or identical across entries — [seo/sitemap-lastmod](https://void-design.vercel.app/rules/seo/sitemap-lastmod)

Detected by `void seo` and `void audit`. Explain it in a terminal: `void rules seo/robots-sitemap-directive`
