Give the Finnish pages their own URLs, linked with hreflang #26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Finnish text exists only in
data-fiattributes, andpublic/js/site.jsswaps it in on the same URL. A crawler starts with no stored language, so every engine indexes the English text only, and a search in Finnish cannot find the site.Google's guidance for localized versions gives each language its own URL and links the versions with
hreflang: each version lists itself and all the others, andx-defaultnames the fallback. Google does not usehreflangor thelangattribute to detect what language a page is in, so the Finnish text has to be in the HTML of a Finnish URL.What it takes:
/fi/,/fi/cv/,/fi/glossary/,/fi/quiz/), with the Finnish text in the HTML.<link rel="alternate" hreflang="en">,hreflang="fi"andhreflang="x-default"on every version, or the same alternates insitemap.xml.Open question: the pages are served as written, with no build step. Either the Finnish pages are kept by hand, as a second copy of every page changed together with the first, or both languages are generated from one source in CI, which brings forward the
web/frontend source that ROADMAP plans for a later phase.The research behind this is in
SEO.md.