# robots.txt for best.free
# Served as a plain-text TemplateView (no Django i18n `g` context), the same
# way /ads.txt is. Crawling is open; only private / non-content surfaces and
# thin search-result query strings are disallowed.
#
# ⚠ TWO FORMATTING RULES BELOW ARE LOAD-BEARING - do not "tidy" them:
# 1. There is NO `Allow: /`. Allow-all is already the default, and a first-match
# parser (urllib.robotparser, and various SEO tools) returns it for EVERY
# path, silently ignoring every Disallow in this file.
# 2. There are NO blank lines inside the group - the separators are bare `#`
# comment lines. A blank line TERMINATES a record for those same parsers,
# so every Disallow after the first blank line is discarded.
# Each of these alone was enough to make all Disallows inert. Google and Bing
# use RFC 9309 longest-match and were never affected either way; this only
# fixes the stricter/legacy parsers. Verified 2026-08-02 with
# urllib.robotparser: /admin/ /api/ /ipns/ /s/ /captcha/ /logout/ /verify/
# /restore-password/ blocked; / /pricing/ /developers/ /login/ /account/ allowed.
User-agent: *
#
# Admin, APIs and payment webhooks - never content.
Disallow: /admin/
Disallow: /api/
Disallow: /ipns/
#
# Account / auth / billing flows.
#
# ⚠ Only the routes that an ANONYMOUS crawler can still land on with an
# indexable 200 are Disallowed here. The rest were UN-blocked deliberately:
# they now carry ``, and a
# robots-Disallowed URL is never re-crawled, so the directive would stay inert
# and the page would sit in the index forever. Same reasoning as /languages/
# below. Verified with a Googlebot UA against production:
# /login/ /signup/ /lost-password/ /success/ 200 + noindex meta
# /checkout/?plan= 200 + noindex meta
# (bare /checkout/ 302s to /pricing/; ?plan= is the shape the crawler
# actually enumerates - a dead-even split over all six plans)
# /account/ /cancel/ /delete-account/ 302 -> /login/ (noindex)
# None of those can serve an indexable page to a logged-out crawler.
#
# These three STAY blocked - for a logged-out crawler they 302 to the
# INDEXABLE homepage, so unblocking would expose a crawlable, non-noindexed
# URL (the wrong direction). Their meta noindex only renders for an
# authenticated user, which Googlebot never is:
# /logout/ - anon 302 -> /, and state-changing: must never be crawled at all.
Disallow: /logout/
# /verify/ - anon 302 -> /
Disallow: /verify/
# /restore-password/ - anon + tokenless 302 -> / (the ?token= form does serve
# the noindex, but those URLs are emailed, unguessable and never linked).
Disallow: /restore-password/
#
# Utility redirects + captcha + well-known.
Disallow: /s/
Disallow: /captcha/
Disallow: /.well-known/
#
# Remote MCP server (connectors/): the JSON-RPC endpoint, its one-hour result
# downloads (/mcp/files/), OAuth and the disconnect form are not content. The
# server card and the AI catalog are machine-readable discovery documents and
# stay fetchable (longest match wins over the Disallows above). /connectors/
# itself is a normal page and is in the sitemap.
Allow: /mcp/server-card
Allow: /.well-known/ai-catalog.json
Disallow: /mcp
Disallow: /oauth/
Disallow: /connectors/disconnect/
#
# Thin/duplicate internal search-result pages (?q=...) and pure re-orders
# (?sort=). Language alternates (?lang=xx) are intentionally NOT disallowed -
# they are the hreflang targets. Pagination (?page=) is left crawlable so the
# deep font links remain followable.
Disallow: /*?q=
Disallow: /*?sort=
#
# The /languages/ chooser is kept CRAWLABLE on purpose: the LanguagesPage view
# emits `X-Robots-Tag: noindex`, and Googlebot must be able to re-crawl the
# already-stuck /languages/?return=... URLs to see that header and drop them
# from the index (a robots-Disallowed URL is never re-crawled, so the noindex
# would stay inert on it). ?return= is only ever generated by that chooser, so
# no other path is exposed, and every page carries a query-less self-canonical.
# ?next= stays disallowed and is now load-bearing on its own: /login/ is no
# longer Disallowed (see above), so this line is the only thing keeping the
# unbounded /login/?next= space out of the crawl. ?lang= stays
# crawlable (hreflang target).
Disallow: /*?next=
#
Sitemap: https://best.free/sitemap.xml