: Correct way to handle translated pages I have a page: www.domain.com/contact-us This page is in en-US language. It is also avaliable in 3 other languages: www.domain.com/de/contact-us (German)
I have a page:
domain.com/contact-us
This page is in en-US language. It is also avaliable in 3 other languages:
domain.com/de/contact-us (German) domain.com/zh-hans/contact-us (Simplified Chinese) domain.com/mas/contact-us (Masai)
These translations are high quality (not automated).
On the contact us page, the following meta tags are defined:
<link rel="canonical" href="https://www.domain.com/contact-us" />
<link rel="alternate" hreflang="x-default" href="https://www.domain.com/contact-us" />
<link rel="alternate" hreflang="en-US" href="https://www.domain.com/contact-us" />
<link rel="alternate" hreflang="de" href="https://www.domain.com/de/contact-us" />
<link rel="alternate" hreflang="zh-Hans" href="https://www.domain.com/zh-hans/contact-us" />
<link rel="alternate" hreflang="mas" href="https://www.domain.com/mas/contact-us" />
The meta tags are the same on each version of the page, regardless of language being viewed.
The <html> tag on each page is also as follows:
<html lang="en-US">
<html lang="de">
<html lang="zh-Hans">
<html lang="mas">
Is this the Google recommended way of doing this?
More posts by @Pope3001725
1 Comments
Sorted by latest first Latest Oldest Best
We've recently had advice on best practice for a very similar structure.
Canonical:
Canonical shouldn't be shared across languages, but used within a language. For instance, your Masai homepage would have a canonical tag of:
www.domain.com/mas
But the canonical for your German homepage would be:
www.domain.com/de
x-default:
x-default should be used to indicate a page allowing users to choose a language, so you shouldn't be using this (unless you have that page). This is described on the relevant Google Help page at support.google.com/webmasters/answer/189077?hl=en
For language/country selectors or auto-redirecting homepages, you
should add an annotation for the hreflang value "x-default" as well
html tag:
You should obviously only have one html tag per page, with a lang attribute relevant to the current language. I'm sure you've got it set this way already, but it's not clear from your question
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.