Skip to content

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

Merged
milanmajchrak merged 1 commit into
customer/savfrom
fix/robots-sync-1085-sav
Oct 22, 2026
Merged

milanmajchrak merged 1 commit into
customer/savfrom
fix/robots-sync-1085-sav

Conversation

@Kasinhou

Copy link
Copy Markdown

What

Syncs src/robots.txt.ejs on customer/sav 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
@milanmajchrak
milanmajchrak merged commit 01af04e into customer/sav Oct 22, 2026
4 of 5 checks passed
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.

2 participants