AI Visibility Glossary

hreflang

2026-06-29 · Definition · by Italo Campilii
Definition

hreflang is an HTML attribute and header directive that tells search engines which language and regional version of a page to serve to users, using language and optional country codes. It prevents duplicate-content issues across localized pages and improves international targeting accuracy.

On multilingual or multi-regional sites, several pages may share nearly identical content differing only by language or locale. hreflang annotations map these alternates to one another so engines serve the Spanish page to Spanish speakers and the UK page to UK visitors, rather than treating the set as duplicates competing for the same query.

For global brands Acromatico supports, correct hreflang clusters keep generative engines from conflating regional variants when they extract facts or citations. Bidirectional, self-referencing annotations with valid language codes ensure each market's audience, human or AI, receives the version written for them and that authority is not scattered across mismatched pages.

Related terms

Questions people ask

Do hreflang and canonical tags conflict?

They should work together, not against each other. Each localized page should self-canonicalize and reference its alternates via hreflang. Pointing a canonical from one language version to another is a common error that collapses the localized set and undermines international targeting.

What are common hreflang mistakes?

Frequent errors include missing return links between alternates, invalid or invented language and region codes, mixing hreflang with cross-language canonicals, and omitting an x-default fallback. Each breaks the mapping, causing engines to serve the wrong regional version or ignore the annotations entirely.

See if AI actually names your brand

Acromatico runs live AI-visibility audits across ChatGPT, Perplexity, Gemini, and Claude.

Get a free AI Visibility Audit →