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. By ensuring a correct hreflang tag implementation, search engine crawlers will understand the purpose of these content variants and thus will avoid any severe penalties for duplicate content.
By helping search engines understand which pages are targeted at which regions and languages, it can help them rank only the relevant pages in search results for the particular visitor. This results in a higher click through rate as the visitor will see only relevant search results from your website.
A multi-regional site has different pages or domains that target different countries.
A multi-lingual site has different pages that target different languages.
Some websites incorporate both regional and language variants.
The hreflang tag consist of 3 attributes:
Tells the search crawler that there is an alternate variation of the page present
Used to specify the actual alternate URL
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
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.
Website with different country pages:
Website with different country domains:
Website with different country sub-domains:
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.
For example http://example.com may serve various countries such as Canada, USA, India etc. In such a case you are required to tag http://example.com with the x-default attribute.
Google recommends using the x-default hreflang attribute!
Every page of your site must have hreflang tags that point to other language or region variants. Leaving them out leaves the doors open for search engine crawlers to misinterpret your site structure.
If you are unable to add hreflang tags into your website's header, you can add them to your sitemap instead. Adding hreflang tags to a sitemap requires the use of <loc> element.
You can see below, it can get quite complicating. For every page you will need to specify the variants using the <xhtml:link> element.
You will need to treat every variant as a separate property. This let's Google know that each variant is a separate site.
Hence it is important to keep in mind that the site structure is critical. Choosing the right site structure makes it easy to 'split' your site into the associated regions or languages.
Need to generate hreflang tags quickly?
You can use our freely available hreflang tag generator!
One of the common issues of running a site with multiple language or region variants is that, you may find visitors landing on the incorrect version.
For example, you may have a single global Facebook or Instagram page which links visitors to your global default site.
To ensure your visitors have the best experience you can make use of a geo redirect to take visitors to the correct regional or country page based on their location. This can either be done using an automatic redirection or a popup / notification bar that prompt's visitors to 'switch' to the local site.
Use the correct ISO language codes and country codes
Ensure hreflang tags are present for all variants in every page
Use the x-default tag for unmatched languages or countries
Don't forget to use http or https in every hreflang link
Use a geo redirect to auto redirect or prompt the visitor to go to the correct regional page if they are found on the incorrect one. This will greatly help increase conversion rates.