SEO & AEO

Hreflang

A tag that tells search engines which language or regional version of a page to show to which users.

By Nick Irmo · Updated

What Hreflang means

If you have pages in several languages or for different countries, hreflang helps the right version appear in the right market. Mistakes are common and can cause the wrong page to rank. It needs careful, consistent setup across every version.

Why it matters for your website

If you have pages in more than one language or for different countries, hreflang helps search engines show each person the right version. Without it, a Spanish speaker might land on your English page and leave. It also reduces confusion between similar regional pages.

Example

A Chicago immigration law firm has English and Spanish versions of each service page. Hreflang tags link each pair so Spanish searchers see the Spanish page in results.

Tips

  • Make sure every page in a set links back to the others with return tags.
  • Add an x-default version for visitors who match no listed language.
  • Use correct language and region codes.

Common mistakes

  • Adding hreflang on only one side of a page pair, so it is ignored.
  • Pointing hreflang tags at redirected, broken or noindexed URLs.

Questions about Hreflang

What is Hreflang?
A tag that tells search engines which language or regional version of a page to show to which users.
Do I need hreflang if my site is only in English?
No. Hreflang is only needed when you have multiple language or regional versions of the same content.
Can I add hreflang in my sitemap instead of the page?
Yes. Google accepts hreflang in HTML tags, HTTP headers or the XML sitemap. Pick one method and use it consistently.

Tell us what the site needs to do.

Share a few details and a budget range. We reply within one business day with a plan, a platform recommendation and a fixed quote.