Skip to content

uk: sync robots.txt with dtq-dev (add SSR facet rules) - #1646

Open
Kasinhou wants to merge 1 commit into
customer/ukfrom
fix/robots-sync-1085-uk
Open

Kasinhou wants to merge 1 commit into
customer/ukfrom
fix/robots-sync-1085-uk

Conversation

@Kasinhou

Copy link
Copy Markdown

What

Syncs src/robots.txt.ejs on customer/uk with dtq-dev — the file is now identical to dtq-dev.

Why

The robots file had drifted from dtq-dev and was missing the Discovery facet / scoped-search rules. Crawlers enumerating facet-filter combinations and per-collection/community search URLs were saturating SSR (HTTP 504). These rules keep crawlers off those near-infinite URL permutations while leaving real content (items, entity and collection/community pages) crawlable.

Change

Added to the User-agent: * block:

  • Disallow: /collections/*/search
  • Disallow: /communities/*/search
  • Disallow: /*?f.
  • Disallow: /*&f.

No other sections changed.

Refs dataquest-dev/dspace-customers#1085

🤖 Generated with Claude Code

Adds the Discovery facet / scoped-search Disallow rules from dtq-dev that
keep crawlers off facet-filter and per-collection/community search URLs,
which were saturating SSR. Brings src/robots.txt.ejs in line with dtq-dev.

Refs dataquest-dev/dspace-customers#1085

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Kasinhou Kasinhou self-assigned this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant