Raw intake
The authoritative SEO specifications require production to expose a versioned robots.txt crawl contract alongside the production sitemap. Current core.views.robots() only serves the development Disallow: / body and raises 404 whenever NOINDEX=False; the production-shaped test explicitly codifies that 404.
Keep development non-indexable behavior unchanged, but make production return the approved crawl/robots body with the correct content type, method/cache/header behavior, and tests. Do not alter sitemap routes, canonical URLs, deployment host policy, or use robots as authorization.
Raw intake
The authoritative SEO specifications require production to expose a versioned
robots.txtcrawl contract alongside the production sitemap. Currentcore.views.robots()only serves the developmentDisallow: /body and raises 404 wheneverNOINDEX=False; the production-shaped test explicitly codifies that 404.Keep development non-indexable behavior unchanged, but make production return the approved crawl/robots body with the correct content type, method/cache/header behavior, and tests. Do not alter sitemap routes, canonical URLs, deployment host policy, or use robots as authorization.