Skip to content

Commit 00e0159

Browse files
jshasyphar
authored andcommitted
Add a User-Agent
And remove / from the Disallow rule
1 parent 191bdcf commit 00e0159

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

static/robots.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ Sitemap: https://docs.rs/sitemap.xml
22
# Semver-based URL are always redirects, and sometimes
33
# confuse Google's duplicate detection, so we block crawling them.
44
# https://docs.rs/about/redirections
5-
Disallow: */^
6-
Disallow: */~
5+
User-Agent: *
6+
Disallow: *^
7+
Disallow: *~

0 commit comments

Comments
 (0)