Skip to content
SEO Services

Hreflang Tags in Practice, Done Properly

The markup that tells search engines which language and region version of a page to show, and the errors that commonly break it.

Samir Haddad Search & Analytics Lead 2 min read 18 views
Hreflang Tags in Practice, Done Properly

Where most projects go wrong

The usual mistakes:

  • One-way annotations
  • Invented country codes
  • Hreflang pointing at redirecting URLs
  • Mixing implementation methods inconsistently

What good looks like instead

  • Include self-referencing tags
  • Use valid language and region codes
  • Add an x-default page
  • Keep annotations consistent in both directions
  • Monitor hreflang reports for errors
What to do and what to avoid with hreflang tags in practice, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Hreflang is easy to get wrong, and broken implementations leave the wrong pages ranking in the wrong markets.

The specs that matter

Published figures for Hreflang Tags in Practice
MeasureFigure
Return tagseach page must reference the others, including itself
Codeslanguage and optional region codes follow defined standards
x-defaultmarks the fallback page for unmatched users
Deliveryhreflang can go in HTML, HTTP headers or sitemaps

Knowing when to hand it over

Tip: Bring in help when international pages rank in the wrong markets.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on SEO Services work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

Samir Haddad

Technical SEO and measurement. Writes about crawling, indexing, Core Web Vitals and the difference between a figure and a guess.

Keep reading