Skip to content

Expose the production robots.txt contract #164

Description

@alexeygrigorev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Must-have or release-blockingbugSomething isn't workinginfraArea: infraseoArea: seotestingArea: testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions