Why do you need hreflang tags for multilingual website?
Correctly implemented hreflang tags are super essential in ensuring search engine crawlers can understand the site structure of a multi-regional / multilingual website. Multi-regional and multilingual website’s incorporate multiple versions of the same page with slight content variations and hence contain a large amount of duplicate content.
When to use hreflang for multiple regions and languages?
Website’s serving multiple regions and languages are often split into either subpages on the same site, completely different domains or subdomains on the same domain. The hreflang “x-default” attribute is used for specifying a page that does not have any region or language assosciated with it.
When to use a variant Tag in hreflang?
The variant subtag can be used to indicate dialects, or script variations, not covered by the language, extended language tag, or region tag. It’s highly unlikely that you’ll come across variant subtags unless you work in niche and specialized areas.
Do you use hreflang for IP redirects?
Don’t use IP redirects, as it can break Google’s indexes (also remember Google crawls primarily from the U.S.). If you’re using a .com, and you’ve implemented one of the above, don’t redirect your root domain to your “main website;” Google will use the hreflang to point users to the correct site.
How to make a hreflang for an alternate page?
hreflang=“x”: It’s alternate because it’s in a different language, and that language is x. href=“https://example.com/alternate-page”: The alternate page can be found at this URL. Constructing a hreflang tag is as simple as looking up the code for your chosen language and filling in the tag.
What do search engines look for in hreflang?
If you’ve spent time translating your content into multiple languages, then you’ll want search engines to show the most appropriate version to their users. Both Google and Yandex look at hreflang tags to help do this. Sidenote. Bing and Baidu don’t look at hreflang tags.
When to use hreflang GB or en GB?
hreflang=”en-gb” Used to specify the language and country The first portion en specifies the language in ISO 639-1 format The second portion gb is optional and specifies the country using the ISO 2 letter country code
When to use the x-default attribute in hreflang?
The hreflang “x-default” attribute is used for specifying a page that does not have any region or language assosciated with it. This is normally used for the global pages that serve every region or language that is explicitly not specified in any other hreflang tag.
What do you need to know about hreflang attribute?
The hreflang attribute needs to contain a value that consists of the language, which can be combined with a region. In other words, the language attribute needs to be in ISO 639-1 format (a two-letter code). Google can deal with some of the common mistakes with region codes, although you shouldn’t take any chances.