2 Commits

Author SHA1 Message Date
Max Hilbrunner
2668f8b5a9 Appease our great search engine overlords
This hopefully fixes all translated pages showing up in search engine results, and makes the STABLE version of each page canonical.
In turn, this allows us to re-enable indexing of the version-specific pages (see robots.txt changes), as search engines should prefer the canonical (stable) version, and only show the other versions if no canonical (stable) version exists (i.e. because that feature is only in latest, or was removed in stable).

It adds proper canonical links for all generated pages, and fixes the existing links between the various translations of a page by both ensuring the pages links to itself with the proper language tag, and by properly linking to the full path of other translated versions.

(cherry picked from commits:
- fd5f6f4909,
- 263ff56251,
- e21df0671f,
- 24781e377b,
- 66d185d5d2,
- 3c79f3e321)

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-05-04 09:35:02 +02:00
Rémi Verschelde
976a6d354a Add robots.txt file to prevent indexing outdated docs
Cherry-picked from 2e37935e73b629fd9ecaabf958943cabc3ac825 and follow-ups.
2020-03-16 12:21:55 +01:00