DEV Community

Alexander Todosuik
Alexander Todosuik

Posted on

SEO: International SEO and Hreflang Implementation 2026

International SEO ensures Google shows the correct language and regional version
of your content to users in each market. The primary technical implementation
is the hreflang attribute.

What Hreflang Does

Hreflang tells Google which version of a page to show to users in specific
language/region combinations. Without it, Google may show the wrong language version
to users in your target markets.

Example: A site with English (US), English (UK), and Polish versions needs hreflang
to tell Google: show /en-us/ to US users, /en-gb/ to UK users, /pl/ to Polish users.

Implementation in HTML Head

<link rel="alternate" hreflang="en-us" href="https://example.com/en-us/page/" />
<link rel="alternate" hreflang="en-gb" href="https://example.com/en-gb/page/" />
<link rel="alternate" hreflang="pl" href="https://example.com/pl/strona/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/en-us/page/" />
Enter fullscreen mode Exit fullscreen mode

Rules:

  • Every page must reference ALL its alternate versions, including itself
  • The x-default tag specifies the fallback for unmatched language/region combinations
  • All URLs in hreflang tags must be canonical and return 200 status

Common Errors

Missing self-referential tag: Each page must include a hreflang tag pointing to itself.
Incomplete reciprocal links: If Page A references Page B, Page B must reference Page A.
Wrong language codes: Use BCP-47 format (en-us, not en_US or english).

Verification

Google Search Console > International Targeting > Language tab.
Hreflang errors appear under Coverage or as specific warnings in the report.


International SEO and hreflang implementation guide 2026: yositeup.com

Top comments (0)