3 ms·
I think a solution might be to make links to the latest version redirect to a v/latest/ which redirects to the new latest version across upgrades. For each url
by kingbirdy 9y ago
I think a solution might be to make links to the latest version redirect to a v/latest/ which redirects to the new latest version across upgrades. For each url v/1.2/docs if 1.2 is the new version, then it redirects to v/latest/docs and when copy-pasted to e.g. stack overflow, when someone comes along later when it's in version 1.5, it serves the v1.5 docs. So the latest Google crawl will see mostly v/latest/docs links, it will always serve those at the top of search results for docs, and then no matter what those search results at the latest version of docs.
- ximeng 9y agoThis would help! There are no direct links between the urls below which both have the same content. https://www.postgresql.org/docs/current/static/index.html https://www.postgresql.org/docs/current/static/index.html https://www.postgresql.org/docs/10/static/index.html https://www.postgresql.org/docs/10/static/index.html You have to click to another page and back again to change to the "current" link if you're on the "10" link.