# https://www.robotstxt.org/robotstxt.html
User-agent: *
Allow: /
# ── New SEO directories (primary crawl targets) ──
Allow: /family-tree/
Allow: /family-trees/
Allow: /category/
Allow: /topic/
Allow: /surname/
Allow: /person/
Allow: /@
# ── Block API endpoints ──
Disallow: /api/
# ── Block authenticated/private user areas ──
Disallow: /_authenticated/
Disallow: /dashboard/
Disallow: /settings/
Disallow: /account/
Disallow: /trees/
# ── Block auth flows ──
Disallow: /signin
Disallow: /forgot-password
Disallow: /reset-password
Disallow: /accept-invite
# ── Block legacy public/tree ID-based URLs ──
# User trees are now served at /@:username/:tree-slug
# Old ID-based URLs remain for backward compatibility but should not be indexed
Disallow: /public/tree/
# ── Major AI crawlers — explicitly allowed for LLM optimisation ──
User-agent: GPTBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: CCBot
Allow: /
User-agent: anthropic-ai
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Google-Extended
Allow: /
# Feeds & sitemap
Sitemap: https://lineage.tools/sitemap.xml
Sitemap: https://lineage.tools/sitemap-pages.xml
Sitemap: https://lineage.tools/sitemap-people.xml
Sitemap: https://lineage.tools/sitemap-family-trees.xml
Sitemap: https://lineage.tools/sitemap-famous-families.xml
# LLM Discovery
# See https://llmstxt.org/ for details
# Concise: https://lineage.tools/llms.txt
# Full documentation: https://lineage.tools/llms-full.txt