Skip to content

Commit d866a94

Browse files
committed
Update dspace 7 paths in robots.txt
1 parent cecec28 commit d866a94

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/assets/static/robots.txt.ejs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ Sitemap: <%= dspaceUrl %>/sitemaps/sitemap0.html
99
# (NOTE: blank lines are not allowable in a group record)
1010
##########################
1111
User-agent: *
12-
# Disable access to Discovery search and filters
13-
Disallow: /discover
14-
Disallow: /search-filter
12+
# Disable access to Discovery search and filters; admin pages; processes; submission; workspace; workflow & profile page
13+
Disallow: /search
14+
Disallow: /admin/*
15+
Disallow: /submit
16+
Disallow: /workspaceitems
17+
Disallow: /profile
18+
Disallow: /workflowitems
1519

16-
#
1720
# Optionally uncomment the following line ONLY if sitemaps are working
1821
# and you have verified that your site is being indexed correctly.
1922
# Disallow: /browse/*

0 commit comments

Comments
 (0)