Sitemap and robots.txt for a small SaaS

Published 7 min read

The short version

What belongs in a sitemap

lastmod, priority and changefreq

A working sitemap, limits and index files

How robots.txt works

What to block on a SaaS

Common mistakes

Generating both in Next.js

All guides