SEO and GEO

hreflang

Definition

hreflang is an HTML attribute that tells search engines which language or region each version of a page serves, so a German visitor is shown the German URL and a Turkish visitor the Turkish one. It is placed in the page head or the sitemap and must list every language version, including the page itself and an x-default fallback. Without it, multilingual pages compete with each other in search results.

Why it matters for your store

A store selling to Turkey, Germany, and the Gulf has the same product page three or five times. To a search engine those are duplicates unless it is told otherwise, and the wrong version may rank in the wrong country. hreflang is the instruction that pairs each language version with its audience.

The tag is easy to get wrong. Every version must list every other version, including itself. Listing a translation that does not exist sends the engine to an empty page. Redirecting visitors by IP address instead of using hreflang is discouraged by Google and breaks crawling. These mistakes are common enough that hreflang is best generated by the platform rather than by hand.

How Kambloo handles it

Kambloo storefronts ship with ready translations for Turkish, English, German, Russian, and Arabic, and you can add more. Languages are separated by a URL prefix only (/en/urun/deri-bot), and the slug stays the same in every language, so hreflang sets and redirects stay simple.

For each page, Kambloo lists only the languages that actually have a translation, plus the page itself and an x-default pointing to the default language. The same set is written into the sitemap as alternate links, so head and sitemap agree. Arabic pages use the same URL structure with right-to-left rendering; nothing about hreflang or canonical changes for them.

Kambloo never redirects by IP address. When a visitor's browser language differs from the page, the storefront shows a dismissible suggestion bar instead.

Questions about hreflang

Do I need hreflang if my store is only in Turkish?

No. hreflang only matters when the same page exists in more than one language. It is added automatically when you activate a second language.

What is x-default in hreflang?

The version to show when none of the listed languages matches the visitor. It usually points to the store's default language.

All terms

Put the term to work

Open a free test store and see how Kambloo handles it. Hosting is free for your first month after go-live.

Start free

Free software forever · No credit card · First month of hosting free