# https://www.robotstxt.org/robotstxt.html
User-agent: *
Allow: /
# Admin and account surfaces. /admin-portal is the real route — this used to read
# /admin/, which matches nothing the app serves.
Disallow: /admin-portal
Disallow: /changelog-admin
Disallow: /profile/
# No /api/ disallow. Google's renderer obeys robots.txt for every fetch a page makes, so it
# rendered blog posts as errors and /pools as a permanent loader. API responses carry
# `X-Robots-Tag: noindex` instead (helpers/http/noindexServerResponses.js), which, unlike a
# disallow, actually keeps them out of the index. SEO audit 2026-10, item 1.
# No Crawl-delay. Google ignores it outright, but Bing HONORS it, and Bing is what
# feeds ChatGPT search — throttling it bought nothing and cost visibility in the
# answer engines that matter most for a site this size.
# No per-path Allow rules either. They followed a blanket "Allow: /" and were no-ops,
# and two of the four pointed at pre-ALA-344 paths that no longer exist.
Sitemap: https://www.alasportspools.com/sitemap.xml
# The blog's posts are rows, not routes, so they cannot live in the generated file above
# (scripts/generateSitemap.js, committed and --check'd by test/sitemap.test.js). They get a
# second sitemap rendered per request from blog_posts — see routes/blogRoutes.js.
#
# TWO Sitemap: lines rather than turning the first file into a sitemap index: an index has
# a root instead of , so /sitemap.xml would have stopped listing
# any URL of its own. Both forms are equally discoverable; only one of them requires
# rewriting a generator that already has a passing staleness contract.
Sitemap: https://www.alasportspools.com/sitemap-blog.xml