Skip to content

Commit 91e257b

Browse files
authored
Merge pull request #5039 from DSpace/backport-5003-to-dspace-9_x
[Port dspace-9_x] Added directive in robots.txt
2 parents da939b3 + c172b6d commit 91e257b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/robots.txt.ejs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Disallow: /workflowitems
1919
# Crawlers should be able to access entity pages, but not the facet search links present on entity pages
2020
Disallow: /entities/*?f
2121

22+
# Heavy Discovery facet queries on browse pages
23+
Disallow: /collections/*?f
24+
Disallow: /communities/*?spc.page
25+
2226
# Optionally uncomment the following line ONLY if sitemaps are working
2327
# and you have verified that your site is being indexed correctly.
2428
# Disallow: /browse/*

0 commit comments

Comments
 (0)