Skip to content

Commit df6cb45

Browse files
authored
Merge pull request DSpace#5003 from Aryakoste/directive-robots.txt
Added directive in robots.txt
2 parents 12cc787 + 9b03e82 commit df6cb45

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)