Glossary

What is hreflang

hreflang is a technical attribute in a page's code that links its language versions together. Thanks to it, a search engine shows the Russian version to a Russian-speaking user and the Kazakh version to a Kazakh-speaking one.

Monolith Studio editorial team2 min read

In plain words

If your site is in two languages, a search engine may see two nearly identical pages and not understand which is for whom. With hreflang you say directly: "this is the same page, but in Kazakh, and here is its address."

The attribute is specified in the page code, in server response headers, or in the sitemap. The value is written as a language code, for example ru or kk.

How it works

On each page you list all of its versions, including itself. The Russian page links to the Kazakh one and vice versa. The link must be mutual: if one page points to another and that one doesn't point back, the attribute won't work.

You can also use the x-default value for the page that applies by default when the user's language is unknown.

Why it matters for business

For a business in Kazakhstan with two languages, this is a way not to lose part of your audience and not to create duplicates. Kazakh-language queries are a separate layer of demand where competition is noticeably lower.

Without hreflang, a search engine may show the wrong version, or treat the pages as duplicates and ignore one of them.

What to keep in mind

Before launch, check that every version of a page has a return link, language codes are spelled correctly, URLs are absolute, and the language switcher is visible to the user and leads to the matching page rather than the home page.

Example from practice

A law firm in Astana built a Kazakh version of its site but didn't link the versions. Kazakh-language search results showed the Russian page. After we added hreflang and translated the titles, the Kazakh version began appearing for queries in Kazakh.

Common mistakes

  • Adding a link in one direction only
  • Mistyping the language or country code
  • Machine-translating the text and leaving it unedited
  • Redirecting users by browser language without giving them a choice
  • Not specifying a page's version pointing to itself

We'll name the price and timeline before we start

Tell us about your project and we'll fix the price and timeline in the contract. No extra charges along the way.

Discuss your project

FAQ

Do I need hreflang if the site is only in Russian?

No. It is needed when a page has versions in other languages or for different regions.

Does it affect rankings?

Not directly. It helps show the right version to the right people and avoid duplicates between languages.

Didn't find your question? Message us and we'll reply within one business day.

Ask a question

Read also

Need help with this topic?

Tell us about your task in a few words, and we will suggest where to start and tell you honestly what you don't need.

Call+7 708 758 18 60Message usWhatsApp
CityAktobe · we work across all of Kazakhstan

Get a quote

We'll reply within 15 minutes with an approximate price.