Mobile app version of vmapp.org
Login or Join
Pope3001725

: 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)

@Pope3001725

Posted in: #CanonicalUrl #Google #MetaTags #Multilingual

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme