hreflang

Sitecheck Team

How to use hreflang annotations to target content by language and region.

hreflang is an HTML attribute and link relationship used to indicate the language and optionally the region that a page is intended for (for example, en-US or da-DK). It helps search engines serve the correct regional or language version of a page to users.

Why it matters: Proper hreflang reduces duplicate content issues across language variants and improves relevance in international search and region-specific SERPs.

Quick tips:

  • Use absolute URLs in your hreflang annotations.
  • Include a self-referential hreflang for each page.
  • Consider an x-default for pages that act as a language selector or fallback.

See also: sitemap.xml (can contain hreflang entries) and Canonical Tag.