How to optimise a language version of a website for SEO purposes?

Websites of today are not simple contact pages but important marketing tools which can be used for different business purposes. Their effectiveness depends on the number of viewers, and this, in turn, is dependent on search engine visibility. Thus, creating an effective strategy for achieving good positions in search results (SEO) is crucial, especially for multi-language sites which aim to obtain users from different parts of the world.
Start earning money today.
Sign up for free

When it comes to multi-language sites, there are some concerns how to properly set them up. There are three popular ways to create different language variants of one domain:

  1. A folder in the main domain: http://example.com/de
  2. Subdomain: http://de.example.com
  3. Top Level Domain (TLD): http://example.de

Which solution is best?

From SEO perspective, there is no one sure solution to this problem. Various language versions in subfolders inherit the ‘Strength” of the main domain. Different Top Level Domains for each language versions, on the other hand, need different external links leading to them, while a part of the value of the links directing to one domain with language subfolders is divided between all of the pages, including other language versions.

Subfolders are a good way to lower the cost of SEO for the multi-language page. In addition to the shared strength of the domain and external links, there are two other beneficial factors. The first one: Links from other TLDs of the same type are more valuable for your TLD. For example, if you have a different language version on a top level domain – http://example.de, you should gather links from other top levels with the .de suffix. It may pose some problems, it is time-consuming and gaining links from the “original” language domains is more expensive than getting them from your native sources. Secondly: when you wish to create various TLDs for each language version, you may have to increase your expenses, as foreign domain names are significantly more expensive and harder to service by your own employees. In addition, a foreign domain you wish to buy may be already purchased and you have to resign from it or pay a large amount of “ransom” money.


There is one disadvantage of a subfolder in Top Level Domain – it is much harder to achieve top positions in search results in other countries with your native domain, for example – you won't rank as high with an English Top Level Domain with subfolder co.uk/fr in .fr region, as TLD is taken into account, while the /fr is treated as a subpage of the English language site (although it is in French).

Using a subdomain can be considered a compromise between the folder and separate TLD. Its SEO effectiveness is a bit restricted because subdomains are not treated by Google as good as top levels.  But, if you have a valuable domain name which has garnered a lot of reputation over the years and has a significant “Strength”, it will leak its value to its subdomains which will immensely help in Search Engine Optimisation.

Of course, when you try to decide which option is the best for you, you should not only think about SEO, but also about other factors, such as:

  • type of the service (shop, blog, classifieds, business page)
  • technical aspects (CMS, framework, shopping platform)
  • Aims of your site
  • Business and marketing strategy
  • Number of language variants

As you can see, making this decision is not easy, as you have to analyse your business model and devise a plan. In addition, you should also think about user experience.

Hreflang – how to be liked by Google

Choosing the method of publishing the language version on the web is only the first step in a complicated SEO process. You should also properly tag language properties of each and every language version to make it clear for Google bots to interpret and display the data. Google recommends a “Hreflang” attribute. It informs the bots which pages relate to a certain language and location. Additionally, hreflang can be used for subdomains, TLDs, and folders.


There is one more thing – hrelfang helps you avoid duplicate content. If you have two variants of the page in very similar languages (for example – different English versions for USA, UK, Ireland and Australia) standard indexing would make them all duplicates. If you properly configure the hreflang attribute, Google treats each of them as a regional counterpart instead of duplicate content.

When it comes to technical aspects, implementation of hreflang is not too difficult. You can utilise one of three methods:

1. HTML in the <head> section

<link rel="alternate" hreflang="pl" href="http://example.com/en" />

2. HTTP Header, like

Link: <http://example.com/de>; rel="alternate"; hreflang="de"
This solution is useful for publishing content which is not in the HTML format (like PDF).

3. XML Sitemap, i.e.

<url>
<loc>http://example.com/</loc>
<xhtml:link
rel="alternate" hreflang="es" href=http://example.com/es />
<xhtml:link
rel="alternate" hreflang="pl" href=http://example.com/ />
</url>


The solution above can be used for different versions in the folders of the same domain.
The easiest way to see if the hreflang attribute was implemented correctly is by using Google Search Console. In the “Traffic” section you can find the “International Targeting” tab. You can see the data regarding the hreflang attribute and errors found by bots.

URLs shown here can display two types of errors:

International targeting Google Search Console

  •  No return tag

If page A directs to the alternative Site B, Site B has to direct to Site A

  •  Unknown language code

The language in hraflang value should be set in ISO format (for example "ISO-639-1") and the optional region has to be set as in the following example: "ISO-3166-1 alfa 2". Let's take these examples:

  • de - German content, regardless of the region
  • en-GB - English version for United Kingdom location
  • de-ES - German version for users in Spain

You should also remember that if the address has different language versions, they should direct to other variants, not to themselves. For example - if a Polish site has German and Italian variants, Italian one has to direct to the German and Polish versions and so on.


Moreover, if the domain has a Home Page with a language selection option or automatically redirects to the appropriate variant using user's location, you should set the attribute value of "x-default", i.e. <link rel="alternate" hreflang="x-default" href="http://example.com/" />


It is also crucial to use hreflang to signify alternate URLS not only for the same domain but also for the subdomains and TLDs.


What else should be noted?

Aside from implementation of hreflang, there are other practices which are recommended for multi-language, global sites:

  • Each language version should include visible language selection that leads to other variants. It is not only user-friendly but helps Google bots index different versions.
  • Even if you use hreflang, you should also place the language information in the <head> section of the domain, i.e:

 

<meta http-equiv="content-language" content="en" />
or using a tag
<html lang="en-GB">

This way you make it easier for bots to classify your language versions correctly.
When you have alternate variants on the same domain, you have to remember not to set one global language for all subpages but to do it separately for each version/country.

  • You can also configure your default location using Google Search Console “International Targeting” option.

International Targeting Country

Different settings regarding the location can be chosen for each subdomain, TLDs or subfolders of the same domain (but you have to add all variants to Google search console first).

Summary

Preparing the same content in different languages is not an easy and cheap task. You have to carefully choose the best option for publishing the variants of your site in accordance with the line of business you deal with. To make sure all this work does not go to waste, you should follow Google guidelines. This way you can be certain the process of indexing will be smooth and clear, and the relations between different language/regional versions will be recognised. This, in turn, will lead to more traffic directed to your site due to increased visibility in different parts of the world. And, last but not least, you will enhance the user experience for those customers who would like to see a website tailor-made just for them.

 

Author: Maciej Dobkowicz, SEO Account Manager at SEMTEC

Your comments (0)
The WhitePress editors reserve the right to remove comments offensive to other people that contain vulgar words or do not relate to the subject matter of the subject matter.
The administrator of personal data is WhitePress Publishing LTD with its registered office at 590 Kingston Road, London SW20 8DN, your personal data is processed for the marketing purpose of WhitePress sp.z o.o. and entities interested in marketing their own goods or services. Marketing objective of WhitePress sp.z o.o. includes commercial information about conferences and trainings related to content published in the Knowledge Base tab.

The legal basis for the processing of your personal data is the legitimate purpose pursued by the Administrator and his partners (Article 6 paragraph 1 point f of the GDPR).

Users have the following rights: the right to request access to their data, the right to rectify it, the right to delete data, the right to limit processing and the right to transfer data. You can find more information about the processing of your personal data, including your rights, in our privacy policy.
Read all
  • No comments on this article yet.
The administrator of personal data is WhitePress Publishing LTD with its registered office at 590 Kingston Road, London SW20 8DN, your personal data is processed for the marketing purpose of WhitePress sp.z o.o. and entities interested in marketing their own goods or services. Marketing objective of WhitePress sp.z o.o. includes commercial information about conferences and trainings related to content published in the Knowledge Base tab.

The legal basis for the processing of your personal data is the legitimate purpose pursued by the Administrator and his partners (Article 6 paragraph 1 point f of the GDPR).

Users have the following rights: the right to request access to their data, the right to rectify it, the right to delete data, the right to limit processing and the right to transfer data. You can find more information about the processing of your personal data, including your rights, in our privacy policy.
Czytaj całość
Recommended articles
Redirects - 301 and others – what are they and how can I use them?

A lot can be read in articles, on social media and in discussion forums about a whole range of different redirects. Redirect 301 seems to be the answer to all our internet woes regarding what can happen to our website. A punishment from Google? Redirect. A new version of the site with a different addressing structure ? Redirect. Increased strength of subpages? Redirect. But what is a redirect anyway…?