-
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
Deduplicate doc URLs #24659
Comments
The second are synonymous on purpose, and I'm not sure the third is even exposed anywhere, exactly |
Presumably /std/ will be (or redirect to) the stable channel docs, right? |
Yes, once we have a stable channel :) |
I’d like to revisit the decision to have URLs synonymous on purpose, which can be bad for search engines, and use redirects instead. |
There's a second ticket open for |
S3 seems to support redirects: https://aws.amazon.com/blogs/aws/amazon-s3-support-for-website-redirects/ (though I haven’t looked into details). |
Last I looked into redirects they won't work for |
I'll link to a comment I've made before about duplicate URL structures on rust-lang.org. This is something you should strongly consider fixing. |
cc @steveklabnik (and rest of the docs team, although there's no alias) Right now we have stable docs available in two locations: http://doc.rust-lang.org/std/ On the infrastructure side we can make one redirect to the other. Does the docs team have a preference as to which is the canonical version? |
Did you mean to say stable docs are available at /std/ and at /stable/std/? Or are the docs at /nightly/std/ docs for the stable distribution? |
Oops, yes! |
Let's try this: @rust-lang/docs 🎊 |
So, there's actually three locations: there is also I think I prefer the longer one to be the canonical URL. |
Relevant RFC: rust-lang/rfcs#1826 |
Is there anything else actionable to do here? |
Now that the RFC I linked earlier has merged, a tracking issue has been opened, and as I see it, there's nothing else actionable in this particular issue so I'm going to close it. |
There are at least three sets of URLs that give the same thing:
http://doc.rust-lang.org/std/
http://doc.rust-lang.org/nightly/std/
http://static.rust-lang.org/doc/master/std/
One of the should be picked and the others redirect to it.
Related, but I believe not quite duplicate: #9461, #12466, #14466, #18558.
CC @brson
The text was updated successfully, but these errors were encountered: