Skip to content

Glossary · Search technical

hreflang

hreflang is an annotation that tells search engines which language or regional versions of a page belong together.

By
OSKIT team (Afformation)
Updated
On this page
  1. 01Definition
  2. 02How it works
  3. 03What to check
  4. 04Where OSKIT handles it

Definition

hreflang is an annotation that tells search engines which language or regional versions of a page belong together.

hreflang

How it works

It goes in HTML link tags, HTTP headers or the sitemap. Every version must list all versions, itself included.

On sites for international patients and travellers, it lets a Japanese searcher land on the Japanese page and a Taiwanese searcher on the Traditional Chinese page.

What to check

  1. 01Language codes use ISO format (ja, zh-TW, en)
  2. 02Links are reciprocal
  3. 03An x-default is set

Where OSKIT handles it

Site Engine

Site Engine writes hreflang and x-default into both page metadata and the sitemap.

See the feature

See also: x-default · Canonical URL · XML sitemap

Sources

  1. [1]Google Search Central — Localized versions of your pageshttps://developers.google.com/search/docs/specialty/international/localized-versions

Summarize in an AI chat

Only the page URL is sent.

A free check shows your search and AI answer visibility

Enter your website address and see search engine and AI bot access and index status right away.

3 minutes · Free · No contract