-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many links in google for old docs #56700
Comments
I believe this is a psuedo-duplicate of a bunch of other issues.
… On Dec 10, 2018, at 8:04 PM, Adam Hupp ***@***.***> wrote:
Many rust-related search terms in google return documentation that's out-of-date. The docs do make clear that they are old, but don't link to the newest version. Some examples:
"rust rc" returns this as the 3rd link:
https://doc.rust-lang.org/book/second-edition/ch15-04-rc.html
"rust types of closure" returns this as the first link:
https://doc.rust-lang.org/book/first-edition/closures.html
IMO, the best option is to remove these from the index entirely; if anyone really wants docs for old versions of the language they can probably find them manually.
To do this, I believe you can either put:
<meta name="robots" content="noindex" />
per https://support.google.com/webmasters/answer/93710?hl=en, or hide them with robots.txt.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I hit this a few times per week, and just did an issue search to see what the conversation was like around this. This has been an issue since before 1.0 (especially before 1.0 since things changed far more drastically and frequently back then) and some work has been done to address it over time: At the time, the fixes addressed the biggest blocker issues but fell short of adding canonicalization, which I believe is the main way to address this that has been brought up, but not implemented to my knowledge. A concrete proposal that hasn't received much attention, but I think may be worth considering: |
Related/dupe: #44894 |
The bulk of the issues I run into are due to links to https://doc.rust-lang.org/book/second-edition. There's a lot of other issues around canonical urls and such, I think we'd get 50% of the value by just putting "" in each page of second-edition, so that the up-to-date version of the book will be the top link. It doesn't look like that's something I could fix with a pull request. |
This is still a problem, and it still hurts new users (today's example) Previously I've excluded pre-1.0 docs only, but 40 releases later, early stable docs are quite obsolete too, so here's another take: #69992 |
Still in progress #68677 |
Closing this as it's a closely related to of #44894 and that issue can track both |
Many rust-related search terms in google return documentation that's out-of-date. The docs do make clear that they are old, but don't link to the newest version. Some examples:
"rust rc" returns this as the 3rd link:
https://doc.rust-lang.org/book/second-edition/ch15-04-rc.html
"rust types of closure" returns this as the first link:
https://doc.rust-lang.org/book/first-edition/closures.html
IMO, the best option is to remove these from the index entirely; if anyone really wants docs for old versions of the language they can probably find them manually.
To do this, I believe you can either put:
per https://support.google.com/webmasters/answer/93710?hl=en, or hide them with robots.txt.
The text was updated successfully, but these errors were encountered: