SEOHreflangInternational SEOMulti-language SEO

What is Hreflang? International SEO Tag Implementation

Direct Answer

Hreflang is an HTML attribute that tells search engines which language and country a page targets, and links all alternate versions together. It prevents duplicate content issues and ensures the right content version is shown to each user globally.

Key Takeaways

  • Map every page to its alternate language/country versions
  • Implement hreflang tags in <head> for each page variation
  • Verify bidirectionality: every A → B must have B → A
  • Add x-default tag for all international pages
  • Test hreflang implementation with Ahrefs hreflang checker or hreflang-checker.com

Hreflang is one of the most technically complex but critically important elements of international SEO. Without it, Google may show US English content to UK visitors, or rank your Spanish pages in France rather than Spain — undermining your entire international expansion.

Hreflang Tag Format

<link rel="alternate" hreflang="en-gb" href="https://domain.com/uk/" /> placed in the <head> of each page. Key components: hreflang attribute (language-country code like en-gb, es-es, fr-fr), the href (canonical URL of that specific version), and x-default (fallback for unmatched countries).

Hreflang Must Be Bidirectional

If Page A has hreflang pointing to Page B, then Page B must have hreflang pointing back to Page A. Broken hreflang chains (one-directional) are one of the most common implementation errors. Use a spreadsheet or tool to verify all hreflang relationships are correctly bidirectional.

Common Hreflang Mistakes

One-directional tags (not bidirectional), hreflang pointing to redirected URLs, using wrong language codes (zh instead of zh-hans/zh-hant for Mandarin), missing x-default tag, hreflang in page body rather than <head>, and canonical tag pointing to a different page than hreflang.

Hreflang via XML Sitemap

For large sites, add hreflang annotations in the XML sitemap rather than every page's <head>. This is easier to maintain and scales well for sites with thousands of pages across multiple languages. Use sitemap hreflang when managing more than 3 language/country combinations.

Step-by-Step Action Plan

  1. 1Map every page to its alternate language/country versions
  2. 2Implement hreflang tags in <head> for each page variation
  3. 3Verify bidirectionality: every A → B must have B → A
  4. 4Add x-default tag for all international pages
  5. 5Test hreflang implementation with Ahrefs hreflang checker or hreflang-checker.com
  6. 6Check Google Search Console International Targeting report for errors
  7. 7Monitor country-specific rankings after implementation (2–4 weeks)

Frequently Asked Questions

Frequently Asked Questions

If you serve different countries with the same language (US English, UK English, Australian English), hreflang with country-specific codes (en-us, en-gb, en-au) is still valuable — it signals regional relevance to Google and can improve local organic performance in each market.

Related Service

SEO Services

Learn More
Back to Knowledge Hub
Free Consultation Available

Ready to Apply This to Your Business?

Get expert help implementing these strategies. Book a free consultation with our team.

No credit card required. Response within 2 business hours.

Put It Into Practice

Want Us to Implement This For You?

Now that you know what good marketing looks like, let our team execute it for your business. We apply every strategy you've read about — with proven results.

Full implementation by certified marketing experts
AI-powered execution for faster, better results
Real-time reporting so you always know what's working
No long-term contracts — cancel anytime

Get Expert Help

Tell us your goals and we'll take it from here.

No spam. No commitment. We respond within 24 hours.