-
Notifications
You must be signed in to change notification settings - Fork 212
Add rel="nofollow" on Versions links #1850
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
Conversation
This seems fine, yeah, not sure of any downsides here other than the old versions not showing up in Google. People can always use our version selector if they want a specific version. |
|
I don't want to noindex the explicitly-versioned pages because it's possible there's some item name that only exists in old versions. In that case, the old pages won't be canonicalized away (because their Of course, those search engines would still have to find that old page, which this PR would make harder since we are encouraging them not to crawl explicitly versioned URLs, by removing some links to those URLs. However, other links may still exist on the web, and search engines may still discover old URLs that way. I realize this is a bit hand-wavy but it seems like the right balance to me at the moment. :-)
I think it's complete. This is a macro ( |
kk, understood.
I won't include the list of dependencies, which also can (indirectly) point to old versions of crates. But assuming we don't want to block everything for google, but only some old versions, I'm fine with this. |
Part of #1438. This avoids having search engines was time fetching versioned links which are just going to be canonical'ed away.