Skip to content

Commit 191bdcf

Browse files
jshasyphar
authored andcommitted
robots: block semver-based URLs
1 parent 8725cc1 commit 191bdcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

static/robots.txt

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

0 commit comments

Comments
 (0)