Title: Hreflang Tag
Author: Kriko
Published: Feb 25, 2021
Last modified: Jul 13, 2026

---

 1.  [Home](https://kriko.io/) /
 2.  [Glossary](https://kriko.io/glossary) /
 3.  H Letter

# Hreflang Tag

The **hreflang tag** is an HTML annotation used on multilingual or multi-regional
websites to tell search engines about different language and country versions of
the same or similar content. With this tag, Google can better understand which language
or regional audience a page is intended for and try to show the most appropriate
URL to the right user. Hreflang is an important technical SEO element, especially
in international SEO projects.

The hreflang tag does not create a new language version of a page. In other words,
adding hreflang to a Turkish page does not automatically generate an English page.
The English, German, French or any other targeted language version must already 
exist on a separate URL. Hreflang only tells search engines about the relationship
between these alternative pages. For this reason, multilingual websites should plan
translation, URL structure and hreflang implementation together.

For example, a website may have Turkish and English versions of the same service
page. The Turkish page may be intended for Turkish-speaking users in Turkey, while
the English page may be intended for users searching in English. The hreflang tag
communicates this relationship to Google and helps the search results show the page
that better matches the user's language or regional settings. This can improve user
experience and reduce the risk of showing the wrong language version.

Hreflang is especially important when similar content is published in different 
country or language versions. For example, if English content is published separately
for the United States, the United Kingdom and Australia, these pages should be marked
with the correct regional codes. Generic English can be marked as `en`, US English
as `en-us`, UK English as `en-gb` and Australian English as `en-au`. A common mistake
is using `uk` for the United Kingdom; the correct hreflang value for UK English 
is `en-gb`.

Hreflang values use a language code and, optionally, a regional code. Language codes
are usually based on ISO 639-1; for example, `tr` for Turkish, `en` for English 
and `de` for German. Region codes are based on ISO 3166-1 Alpha-2; for example, `
tr` for Turkey, `us` for the United States and `gb` for the United Kingdom. Hreflang
values are commonly written in lowercase, but the most important point is that the
codes are valid and correctly matched.

One of the most critical rules in hreflang implementation is reciprocal linking.
If the English version of a page points to the Turkish version, the Turkish version
should also point back to the English version. Each page should also include itself
in the hreflang set. For example, if a page has Turkish, English and German versions,
each version should list all alternative URLs, including itself. Missing or non-
reciprocal annotations may be ignored by search engines.

Hreflang can be implemented in three different ways. The first method is adding `
link rel="alternate"` tags to the `<head>` section of the page. For example, an 
English page can be marked with `<link rel="alternate" hreflang="en" href="https://
example.com/en/page/" />`. The second method is defining hreflang through HTTP Headers,
especially for non-HTML files such as PDFs. The third method is specifying the alternative
language and region versions of each URL in the XML sitemap.

For multilingual and multi-regional structures, the `x-default` value can also be
used. `x-default` is used to indicate a default page that does not target a specific
language or region. For example, a global homepage, country selector page or general
English page may be defined as `x-default`. This helps provide a suitable fallback
page when the user's language or region does not match any option in the hreflang
set.

Hreflang does not directly guarantee higher rankings. However, because it helps 
show the correct language and regional version to the right user, it can contribute
indirectly to organic performance. Showing the wrong language version can lead to
high bounce rates, low engagement and poor user experience. Hreflang is a technical
signal that helps reduce these problems.

Common hreflang mistakes include using incorrect language or country codes, missing
reciprocal links, defining URLs that conflict with canonical tags, adding hreflang
to redirected or non-indexable pages and marking inconsistent URL sets. For this
reason, pages included in a hreflang setup should be indexable, canonical structure
should be correct, URLs should be complete and accessible, and the implementation
should be carefully validated.

In summary, the **hreflang tag** is an important international SEO annotation that
helps multilingual or multi-regional websites show the right page to the right user.
A successful hreflang structure requires each language version to be served on a
separate URL, valid language and region codes to be used, reciprocal annotations
to be implemented, canonical structure to be set correctly and one of the HTML, 
HTTP Header or XML sitemap methods to be applied consistently.

## Discover it in the dictionary

###  Data Gravity

Data gravity refers to the effect created when large volumes of data become concentrated
within a particular system, platform or location. As data grows…

###  No-code

No-code development is a software development approach that enables users to create
applications and digital solutions without requiring traditional coding or programming
skills. It…

###  Information Processing Cycle

The information processing cycle refers to the stages through which raw data is 
transformed into meaningful information. During this process, data is entered into…

###  Risk Management

Risk management is the process of identifying, assessing and controlling potential
events that may prevent an organisation or individual from achieving their objectives.
Risk…

###  Data Mining

Data mining is an analytical approach used to discover meaningful patterns, relationships
and trends within large datasets. It helps transform raw information into insights…

###  Browser

A browser is software that allows users to access web pages. Google Chrome, Mozilla
Firefox, Safari, Microsoft Edge and Opera are among the best-known…

###  HTML (HyperText Markup Language)

HTML stands for HyperText Markup Language. It is the standard markup language used
to create the basic structure of web pages. A common misconception…

###  URL Rewriting

URL rewriting is a technique used to make web addresses more understandable for 
users, search engines or application architecture. Every web address entered into…

###  Mobile-first Indexing

Mobile-first indexing is Google's indexing approach in which the mobile version 
of a web page is primarily used when evaluating that page. This does…

## Track the digital heartbeat  with Kriko

Subscribe to receive curated insights, news, and ideas shaping the digital landscape.

  By checking this box, you acknowledge and accept our [privacy policy](https://kriko.io/privacy-policy).