Skip to content

robots.txt missing Disallow #1487

Closed
Closed
@NJAldwin

Description

@NJAldwin

Looking more closely at the robots.txt standard, it states that "At least one Disallow field needs to be present in a record."

The current robots.txt creates a record with User-agent: * but omits the Disallow field. As far as I can understand, the rationale behind this is either:

  • Disallow nothing by default, in which case an empty Disallow: line should be added to make the file valid.
  • Encourage the boilerplate user to implement his or her own robots.txt, in which case I'd think that some text pointing out that the boilerplate robots.txt is invalid would be useful.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions