Skip to content

Provide a reasonable robots.txt #35848

@Sainan

Description

@Sainan

Feature Description

There's a lot of views in a Gitea instance like diff/compare and blame which may be useful for a user but are absolute bloat for crawlers, which a reasonable robots.txt (e.g. https://github.com/robots.txt) could filter out. Right now, Gitea gives 404 page not found (https://demo.gitea.com/robots.txt), resulting in frustration all around.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions