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

Updated on: 2016-06-02
How to optimise a language version of a website
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

Table of Contents

When it comes to multi-language sites, there are some concerns about 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 an 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 version, 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 sp. z o.o. with headquarters in Bielsko-Biała, ul. Legionów 26/28. Your personal data is processed for the marketing purposes of WhitePress sp. z o.o. and entities interested in marketing their own goods or services. The marketing objective of the commercial partners of WhitePress sp. z o.o. includes, among others, commercial information about conferences and training related to the 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 its partners (Article 6 (1) (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. More information on the processing of your personal data, including your rights, can be found in our Privacy Policy.
Read all
  • No comments on this article yet.
The administrator of personal data is WhitePress sp. z o.o. with headquarters in Bielsko-Biała, ul. Legionów 26/28. Your personal data is processed for the marketing purposes of WhitePress sp. z o.o. and entities interested in marketing their own goods or services. The marketing objective of the commercial partners of WhitePress sp. z o.o. includes, among others, commercial information about conferences and training related to the 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 its partners (Article 6 (1) (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. More information on the processing of your personal data, including your rights, can be found in our Privacy Policy.
Read more
Recommended articles
SEO for SaaS Companies: Best Practices for Boosting Your Rankings
SEO for SaaS Companies: Best Practices for Boosting Your Rankings

SEO is critical for the success of any online business, and SaaS companies are no exception. In fact, with such a fierce competition within the industry, a solid SEO strategy can make all the difference. In this article, we’ll outline some of the best SEO practices for SaaS companies, covering everything from content optimization and website structure to off-site SEO and measuring the success of your strategy.

16 Must-Have SEO Chrome Extensions for SEO Specialists
16 Must-Have SEO Chrome Extensions for SEO Specialists

Search Engine Optimization is an essential component of any successful digital marketing strategy. To optimize a website’s search engine ranking, SEO specialists use a variety of tools and resources to aid them in the process - including Google Chrome and its SEO extensions. In this article, we’ll explore 16 must-have SEO Chrome Extensions that every digital marketer should consider using.

Women in the SEO industry in 2023
SEO Through the Eyes of Women: What Surprised Us? International report 2023

SEO is one of the fastest growing industries at the contact point of IT and marketing. At WhitePress® we work with hundreds of specialists in the field every day, while attending industry conferences regularly. Men dominate the stage, with more women appearing on the user side of our platform each year. Therefore, this year, on the occasion of International Women's Day, we decided to take a closer look at the presence of ladies in this sector.