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

###  Geospatial Analysis

Geospatial analysis is a method used to examine data through location, distance,
area and geographical relationships. It helps identify where events occur, how different…

###  Backlink

A backlink, also known as an inbound link, is a link from one website to another
website. When a site links to another page,…

###  Prescriptive Analytics

Prescriptive analytics is an analytical approach that uses predictive modelling,
optimisation methods and advanced algorithms to recommend the most appropriate actions.
It does not…

###  Rich Snippet

A rich snippet is an enhanced search result that displays additional information
alongside the standard title, URL and description. To understand this concept clearly,…

###  Cascading Style Sheets (CSS)

Cascading Style Sheets, commonly abbreviated as CSS, is a style language used to
define the visual presentation of web pages. It is one of…

###  Doorway Pages

Doorway pages are low-quality pages created to gain visibility in search engines
for specific queries, while offering little real value to users and mainly…

###  Dropshipping

Dropshipping is a sales and order fulfilment model in which an e-commerce business
sells products without keeping them in its own warehouse and instead…

###  Hx Heading Tags

Hx heading tags are HTML heading elements used to define the heading and subheading
structure of a web page. These tags range from <h1>…

###  NoSQL

NoSQL refers to database systems that operate outside the traditional relational
database model and are used to store, manage and query different types of…

## 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).