3 ms·
They could straight up disallow the versioned pages in their robots.txt and for the current version they could have a full copy of the docs without version numb
by codetrotter 9y ago
They could straight up disallow the versioned pages in their robots.txt and for the current version they could have a full copy of the docs without version number in the URL that instead has .../current/... and those pages would be allowed for crawlers to index. Then people could jump to older versions manually from there if they needed to instead of everyone having to endure the land-on-an-arbitrary-version-number-page annoyance.
That really is my only problem with the postgresql docs though and that’s saying something. The content itself of the postgresql docs is of stellar quality.
- h1d 9y agoNot sure how exactly Google works but if you just block versioned pages out, won't they just not show up instead of somehow pulling the latest static URL in the same ranked position? Maybe better to specify canonical URL as the latest one.
- slavik81 9y agoBlocking the pages in robots.txt will remove them from the Wayback Machine. That sucks. Qt did that for their documentation when they changed ownership and moved their website. They didn't migrate the old documentation, either. This made updating broken links much more difficult because I couldn't easily read the pages they originally pointed to.