Skip to content

Robots.txt: disallowing bots from comm and coll search facets #4226

@bram-atmire

Description

@bram-atmire

Describe the bug

DSpace 8 (re-)introduced search functionality on community and collection pages. The search queries, especially with many facets active, are rather heavy queries.

Bots should be disallowed from going there.

Recommended directive

Disallow: /collections/*?f
Disallow: /communities/*?spc.page

To Reproduce

Steps to reproduce the behavior:

  1. Check robots.txt
  2. Look for the directives mentioned above

Expected behavior

The directives should be present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects: 8.xIssue impacts 8.x releasesaffects: mainIssue impacts "main" (latest release).buggood first issueThis is a smaller ticket/bug that may be easier for new contributorshelp wantedNeeds a volunteer to claim to move forward

    Type

    Projects

    Status

    📋 To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions