{"id":5931,"date":"2018-12-31T13:40:37","date_gmt":"2018-12-31T11:40:37","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5931"},"modified":"2018-12-31T13:40:37","modified_gmt":"2018-12-31T11:40:37","slug":"point-latest-version-links-to-specific-page","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2018\/12\/31\/point-latest-version-links-to-specific-page\/","title":{"rendered":"Point &#8221;latest version&#8221; links to specific page"},"content":{"rendered":"<p>As discussed in\u00a0<a href=\"https:\/\/github.com\/nextcloud\/documentation\/issues\/915\" data-hovercard-type=\"issue\" data-hovercard-url=\"\/nextcloud\/documentation\/issues\/915\/hovercard\" aria-describedby=\"hovercard-aria-description\">#915<\/a>\u00a0and\u00a0<a href=\"https:\/\/github.com\/nextcloud\/documentation\/issues\/517\" data-hovercard-type=\"issue\" data-hovercard-url=\"\/nextcloud\/documentation\/issues\/517\/hovercard\" aria-describedby=\"hovercard-aria-description\">#517<\/a>, Google seems to prefer old versions&#8217; documentation at the expense of newer ones for some reason. The issue was partly mitigated by the fix for\u00a0<a href=\"https:\/\/github.com\/nextcloud\/documentation\/issues\/958\" data-hovercard-type=\"issue\" data-hovercard-url=\"\/nextcloud\/documentation\/issues\/958\/hovercard\" aria-describedby=\"hovercard-aria-description\">#958<\/a>, which added prominent links to the latest version on top of old pages.<\/p>\n<p>But these links currently point to the manual root. Ideally, I&#8217;d like these links to point directly to the latest version of the specific manual page I&#8217;m viewing, if available.<\/p>\n<p>For instance,\u00a0<a href=\"https:\/\/www.google.com\/search?client=ubuntu&amp;channel=fs&amp;q=nextcloud+occ&amp;ie=utf-8&amp;oe=utf-8\" rel=\"nofollow\">a search for nextcloud occ<\/a>\u00a0(for me at least) currently yields the\u00a0<a href=\"https:\/\/docs.nextcloud.com\/server\/9\/admin_manual\/configuration_server\/occ_command.html\" rel=\"nofollow\">manual page for version 9<\/a>\u00a0as the top result. The &#8221;latest version&#8221; link at the top then takes me to\u00a0<a href=\"https:\/\/docs.nextcloud.com\/server\/stable\/admin_manual\/\" rel=\"nofollow\">the server manual introduction<\/a>. This means it&#8217;s still easier for me to navigate to the latest version of the &#8221;Using the occ command&#8221; page by manually replacing the version number in the current URL with &#8217;stable&#8217; (or the latest release number) than to follow the &#8221;latest version&#8221; link and try to find the page there.<\/p>\n<p>Producing specific links is probably more laborious than the generic top-level-pointing link. For instance, there may no longer be a corresponding page in the stable version. Detecting such cases should be automatable I think, but there may be other issues that aren&#8217;t.<\/p>\n<p>This will be much less of an issue once the SEO issue is resolved, but I think direct links would still remain useful, as people can still come up with search terms that search engines think correspond to old documentation better than the latest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Previously, links to the latest version were added on old pages. I&#8217;d like these to point directly to the specific manual page I&#8217;m viewing.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[589,13996],"class_list":["post-5931","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-google","tag-nextcloud","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5931"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5931\/revisions"}],"predecessor-version":[{"id":5932,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5931\/revisions\/5932"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}