Skip to content

Commit 0126aa7

Browse files
committed
robots: block semver-based URLs
1 parent c595fb1 commit 0126aa7

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)