InfoByData
SEO

Hreflang: what it is and how to implement it on a multilingual or multi-regional site

Hreflang tells Google which version of a page to show in each language and country. How to implement it, common mistakes and what 18 companies in Chile do.

By InfoByData Newsroom

· 3 min read

Paper-cut screen with language flags and the figure of 20% of web pages using hreflang
Illustration: InfoByData

Hreflang is an annotation that tells Google a page has versions in other languages or for other countries, and which one is meant for each audience. Without hreflang, a user in Mexico can end up on the version for Spain, with prices in euros. According to the Web Almanac 2025, about 20% of web pages now use hreflang, twice as many as in 2024. In our review of 18 companies operating in Chile and other countries, 11 use it and 2 of them have errors.

Hreflang in three figures

20.3%

Web pages with hreflang in 2025

desktop; 9-10% in 2024

11 of 18

Sample companies using hreflang

operating in Chile and other countries

5 of 11

With hreflang but no x-default

no fallback version

Source: Web Almanac 2025 (HTTP Archive), SEO chapter; InfoByData’s own measurement with the SEO Checker, Nov 20, 2026

View the data as a table
Web pages with hreflang in 202520.3% | desktop; 9-10% in 2024
Sample companies using hreflang11 of 18 | operating in Chile and other countries
With hreflang but no x-default5 of 11 | no fallback version

What hreflang is and what it is for

Hreflang is useful when you have the same page in several versions: by language (Spanish, English, Portuguese) or by country (Chile, Peru, Mexico, all in Spanish). In its guide to localized versions, Google explains two things that are often confused:

  • Hreflang does not help Google detect the language: Google detects it with algorithms based on visible content.
  • Hreflang tells Google that those pages are variations of the same content, so it can show the right one to each user.

How to implement hreflang: 3 methods

Google accepts three equivalent methods. Choose one:

Method Where it goes When to use it
<link> tags in the HTML In the <head> of each page Sites with few versions; the most common
Link: HTTP header In the server response Non-HTML files, such as PDFs
XML sitemap <xhtml:link> entries for each URL Large sites with many versions

An example for a page in Chile, Peru and Brazil:

<link rel="alternate" hreflang="es-CL" href="https://example.com/cl/" />
<link rel="alternate" hreflang="es-PE" href="https://example.com/pe/" />
<link rel="alternate" hreflang="pt-BR" href="https://example.com/br/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

The 4 hreflang rules you can’t break

  1. Each version must list all the others and itself. If the Chile page points to Peru, the Peru page must point back to Chile.
  2. Use valid codes: language in ISO 639-1 (es, pt) and, optionally, country in ISO 3166-1 alpha-2 (CL, BR). Google states that it does not support es-419 or codes such as UK or EU, and that you can’t specify the country alone.
  3. Add x-default for the page shown to people who don’t match any version, such as a country selector.
  4. Place the tags in the <head> with full URLs.

What companies in Chile do with hreflang

We used our SEO Checker to review the home pages of 18 companies operating in Chile and other countries (retail, airlines, technology, fintech, forestry and wineries). We excluded 5 sites that block automated checks.

Versions declared with hreflang on the home page

Source: InfoByData’s own measurement with the SEO Checker, Nov 20, 2026. Only companies using hreflang (11 of 18)

View the data as a table
Mercado Libre19
JetSMART12
Rappi10
Global669
Sodimac8
Betterfly4
Buk4
CMPC4
Concha y Toro4
Fintual2
Arauco2
  • 7 of 18 don’t use hreflang on their home page, even though they operate in several countries. Some use separate domains per country without linking them together.
  • 5 of 11 have no x-default.
  • 2 have errors: one home page doesn’t include itself in the list (breaking rule 1) and another declares versions with an empty URL, so Google can’t use them.

How to check that your hreflang works

  1. Review the code: paste your URL into our SEO Checker, which lists the page’s hreflang tags.
  2. Check reciprocity: open each version and make sure it points back.
  3. See what Google shows in each country: with our Google location changer you can search for your brand from Peru, Mexico or Brazil and confirm the right version appears.

If Google still shows the wrong version after you implement hreflang, being able to see Google from another country helps you find which markets are affected. For the full strategy, see international SEO: how to rank a website in several countries and languages.

What it means for you

  1. If you have versions by country or language, you need hreflang. Without it, Google may show the wrong version.
  2. Reciprocity is the golden rule. An hreflang link that isn’t returned gets ignored.
  3. Check from each country. The code may be correct, and it is still worth confirming what users see in each market.

Sources

  • hreflang
  • x-default
  • international SEO
  • multilingual site
  • multi-regional site
  • Google location changer