Hreflang Tags and International SEO: A Complete Guide
Table of Contents
If your website serves audiences in more than one country or language, you have likely encountered a frustrating problem: the wrong version of your page appearing in search results. A UK visitor lands on your US pricing page. An Irish customer sees content calibrated for a German audience. Hreflang tags exist to solve exactly this.
These small but significant code annotations tell search engines which language and regional version of a page to serve to which user. Get them right, and you reduce bounce rates, protect your rankings, and give every visitor the most relevant experience. Get them wrong, and you create a tangle of duplicate content signals that can quietly suppress your international visibility.
This guide covers what hreflang tags are, how to choose the right implementation method, how to handle the specific challenges facing UK and Irish businesses, and how to audit your setup once it is live. It also addresses the growing relationship between hreflang and AI search results, which is becoming a meaningful concern for businesses targeting multiple regions.
The Anatomy of a Hreflang Tag

Before you can implement hreflang tags effectively, you need to understand exactly what each component does. The hreflang attribute is made up of three working parts: the rel="alternate" declaration, the language code, and the URL of the alternate version. Together, they form a signal that search engines use to cluster related regional pages without treating them as duplicate content.
Language Codes and Country Codes Explained
Hreflang uses two standardised code sets. Language codes follow the ISO 639-1 format, which produces two-letter identifiers: en for English, fr for French, de for German. Country codes follow the ISO 3166-1 Alpha-2 format: GB for the United Kingdom, IE for Ireland, US for the United States.
These two codes combine to produce a region-specific tag. A page targeting English-speaking users in the UK would carry hreflang="en-GB". One targeting French speakers in France would use hreflang="fr-FR". The most common mistake at this stage is confusing uk (Ukraine) with gb (United Kingdom). Using the wrong country code means your UK-targeted content could be served to a completely different audience. Precision matters here more than it might seem.
The x-default Tag: Your International Safety Net
Not every visitor fits neatly into one of your defined regional categories. A user searching from Singapore might visit a site that only specifies en-GB and en-IE versions. Without a fallback, search engines are left to guess which version to serve.
The x-default tag handles this by pointing to the version of your page that should appear when no other hreflang value matches the user’s language or location. Typically, this is a language-selection landing page or a globally neutral version of the content.
Including x-default is not optional if you want reliable international performance. It is the difference between a predictable user journey and a random one. For businesses managing e-commerce in Ireland and beyond, this tag becomes particularly important when a site serves both domestic and export audiences.
The Reciprocal Tag Requirement
One of the most frequently missed technical requirements is the reciprocal tag rule. For every URL you reference in an hreflang annotation, that referenced URL must also carry a tag pointing back to the original. If your UK page points to your Irish page, your Irish page must point back to your UK page, and both must carry a self-referential tag pointing to themselves.
Search engines use this mutual recognition as a quality signal. If the reciprocal tags are absent, the annotations are treated as incomplete and may be ignored entirely. This is the source of the “No Return Tags” error that frequently appears in Google Search Central for sites that are otherwise implementing hreflang correctly.
Choosing Your Implementation Method
There are three ways to implement hreflang tags: directly in the HTML of each page, through an XML sitemap, or via HTTP headers. The right method for your site depends on its scale, your CMS, and your technical capacity. Each approach has genuine advantages and limitations, and in some cases, the choice is made for you by your platform.
HTML Head Implementation
The most straightforward method is placing link elements with the rel="alternate" and hreflang attributes directly within the <head> section of each page. This approach works well for smaller sites with a manageable number of pages and language variations. The tags are easy to inspect with browser tools, which makes troubleshooting accessible even for less technical users.
The limitation becomes apparent at scale. A site with 5,000 pages and 10 regional variants would require 50,000 individual tag insertions, with each needing to be maintained as URLs change. At that volume, manual HTML implementation becomes an operational risk.
For most SMEs running WordPress, this method is handled automatically by plugins such as WPML or Polylang, which generate and update the tags without manual intervention. If you are setting up a new multilingual site on WordPress, the WordPress sitemap setup works closely alongside hreflang configuration and is worth reviewing in parallel.
XML Sitemap Implementation
For larger sites, XML sitemaps are the more practical and scalable approach. Instead of embedding tags on each page, you declare all language and regional relationships centrally within the sitemap file. Crawlers pick up the annotations without needing to visit every individual page to find them.
The key requirement here is the xhtml:link element, which sits within each URL entry in the sitemap. Each entry must list all alternate versions, including itself. This centralised structure makes it significantly easier to audit, update, and maintain as your site grows.
It also has no impact on page load speed, unlike HTML tags, which add a small amount of weight to every page’s <head>. For sites operating across multiple regions, the sitemap approach is widely considered the superior method for sustained, scalable management.
HTTP Header Implementation
The third option, HTTP headers, is used when hreflang annotations need to be applied to non-HTML files, such as PDFs or other documents that lack a <head> section. It requires server-level configuration and is generally handled by a developer rather than a content team.
For most businesses with standard web pages, HTTP headers are not the primary implementation route. Where they become relevant is in document-heavy sectors such as legal services, financial advice, or technical manufacturing, where downloadable files in multiple languages need to carry proper regional signals. A well-structured approach to search engine optimisation will typically consider which file types on your site need regional annotation, not just HTML pages.
The table below summarises the three methods across the criteria that matter most for most business sites.
| Method | Ease of Implementation | Site Speed Impact | Scalability | Best For |
|---|---|---|---|---|
| HTML Head Tags | Moderate | Minor (adds page weight) | Low (manual maintenance) | Small sites, CMS with plugin support |
| XML Sitemap | Moderate to High | None | High | Large sites, enterprise, e-commerce |
| HTTP Headers | Low (developer required) | None | Moderate | Non-HTML files (PDFs, documents) |
The UK and Ireland Nuance: Handling en-GB, en-IE, and the Northern Ireland Overlap

Generic international SEO guides tend to use en-GB and en-US as their primary examples and leave it at that. For businesses operating across the island of Ireland and the United Kingdom, the reality is more involved. The regional and regulatory context created by Brexit has added a layer of practical complexity that most global guides simply do not address.
Republic of Ireland vs United Kingdom Targeting
The Republic of Ireland uses en-IE it as its hreflang code. The United Kingdom uses en-GB. These are distinct markets with different tax systems, consumer regulations, and currency expectations. A business selling products into both territories needs separate regional versions of its pages to reflect these differences, and hreflang is what tells search engines to serve the correct version to users in each jurisdiction.
The common mistake is treating both markets as a single “English-speaking” audience and using only en without a country code. This creates ambiguity. Google will make its own determination about which version to show where, and that determination is not always correct. Explicit regional codes remove the ambiguity and give you control over which audience sees which content. Businesses exploring the opportunities and challenges specific to Irish e-commerce markets will find that proper hreflang targeting is foundational to any cross-border strategy.
Northern Ireland: The en-GB and en-XI Question
Northern Ireland sits in a unique position. Legally part of the United Kingdom, it follows en-GB as its standard language code. There is, however, a broader codeen-XI, which is sometimes proposed for “global English” or international neutral content. This code is not officially recognised by Google for hreflang purposes and should not be used in your annotations.
For businesses based in Belfast or serving the Northern Irish market, the practical recommendation is to use en-GB fontent targeting Northern Ireland and en-IE for content targeting the Republic, with separate pages where the commercial content genuinely differs. If your pricing, regulatory compliance text, or delivery terms differ between Northern Ireland and the Republic, create distinct pages. If the content is substantively the same, a single en-GB page is sufficient.
Duplicating pages without meaningful content differences creates more problems than it solves. Northern Ireland’s position as a bridge between the UK and the EU single market makes it one of the more genuinely interesting cases for international digital strategy, and you can explore some of the wider regional context through resources like the guide to Northern Ireland’s major cities.
Handling Currency-Only Variations
A question that comes up frequently for UK retailers selling into Ireland (and vice versa) is how to handle pages that are identical in language but differ only in currency. The content is in English, the product is the same, but one page shows GBP pricing and the other shows EUR.
Hreflang is not designed to differentiate on currency alone. It handles language and region. The correct approach is to use en-GB and en-IE as your regional targets, with separate pages for each market that display the correct currency. Even if 95% of the content is identical, the distinct pricing and compliance information is enough to make each page substantively different from Google’s perspective.
This prevents the pages from being collapsed into a single search result and confirms the correct pricing variant appears for each regional audience. Using a duplicate content checker after setting up these regional variants is a useful verification step before indexing.
Auditing and Monitoring Hreflang Health
Implementing hreflang tags correctly at launch is only part of the work. Sites evolve: URLs change, pages are added or removed, and content is restructured. Each of these changes can introduce hreflang errors that quietly undermine your international visibility without generating any obvious warning signs. Regular auditing is what keeps the implementation reliable over time.
Using Google Search Central to Spot Errors
Google Search Central (formerly Google Search Console) provides a dedicated section for identifying hreflang issues. The International Targeting report within the Legacy Tools section flags the most common problems: missing return tags, invalid language codes, and pages that reference URLs which are not included in your sitemap.
The “No Return Tags” error is the most frequently reported. It appears when your UK page references your Irish page in an hreflang annotation, but the Irish page does not carry a reciprocal tag pointing back. Resolving it requires updating the referenced page, not just the referring one. Working through these errors systematically, starting with the pages that receive the most organic traffic, produces the most efficient improvement in international performance. For businesses managing multiple markets through their SEO strategy, building an hreflang audit into the quarterly review cycle is standard practice.
Crawling Tools for Large-Scale Audits
For sites with hundreds or thousands of pages, manual review through Google Search Central is impractical. Dedicated crawling tools such as Screaming Frog, Sitebulb, or ContentKing can systematically map every hreflang annotation across a site, flag inconsistencies, and generate reports that identify which specific pages have errors and what type of error each carries.
These tools are particularly useful when you inherit a site with an existing hreflang implementation that was not set up by your current team. Running a full crawl before making any changes gives you a baseline understanding of what is currently in place, what is broken, and what the priority order for fixes should be.
Attempting to add new regional targeting on top of an already-broken implementation typically makes things worse, not better. A structured approach mirrors the kind of thinking applied in broader technical SEO audits, where understanding the existing state precedes any remediation work.
Common Hreflang Errors and Their Fixes
Beyond missing return tags, there are several other errors that appear consistently across international sites. The table below covers the most common problems and their recommended fixes.
| Error | Cause | Fix |
|---|---|---|
| No return tag | Referenced page lacks a reciprocal annotation | Add hreflang tags to the referenced page pointing back |
| Invalid language code | Using “uk” instead of “gb”, or unsupported regional codes | Replace with correct ISO 639-1 and ISO 3166-1 codes |
| Non-canonical URL referenced | Hreflang points to a redirected or paginated URL | Update annotation to point to the canonical version |
| Hreflang and canonical conflict | Canonical tag points to a different URL than hreflang expects | Align canonical tags with the intended hreflang structure |
| Missing x-default | No fallback version declared for unmatched regions | Add x-default pointing to your global or language-selection page |
Hreflang, AI Overviews, and What It Means for Regional Visibility
The relationship between hreflang and AI-driven search results is an emerging consideration that most implementation guides have not yet caught up with. As Google’s AI Overviews become a more prominent feature of search results pages, and as platforms like ChatGPT and Perplexity draw from indexed content to answer queries, the regional accuracy of your pages takes on additional significance beyond traditional ranking.
How Hreflang Supports AI Citation Accuracy
AI Overviews pull from Google’s indexed content to generate regional answers. When a user in Ireland searches for a product category and an AI Overview appears, Google draws on content it has associated with the en-IE locale to generate that response. If your site lacks proper hreflang implementation, Google may cite your UK pricing page in response to an Irish query, or worse, may not cite your content at all because the regional association is ambiguous.
Clear hreflang signals act as a form of regional trust signal. They tell Google’s systems, including those powering AI Overviews, that this specific page is authoritative for this specific audience. That association becomes increasingly important as AI-generated summaries replace traditional blue-link results for informational and commercial queries. Businesses investing in regional SEO targeting across multiple markets are finding that hreflang configuration is now part of their AI visibility work, not just their traditional SEO checklist.
Hreflang vs Canonical Tags: Resolving the Confusion
A question that comes up frequently is how hreflang and canonical tags interact, particularly when the same content exists across multiple regional versions. The two tags serve related but distinct purposes and must be configured carefully to avoid conflicting signals.
A canonical tag tells search engines which version of a page is the primary one, typically used to prevent duplicate content penalties when the same content is accessible via multiple URLs. An A hreflang tag tells search engines which language or regional audience a page is intended for. The two can coexist, but they must be consistent: if your UK page carries a canonical pointing to itself and an hreflang pointing to its Irish equivalent, that is correct.
If the canonical on your UK page points to your US version, that creates a conflict that search engines will struggle to resolve cleanly. Each regional page should carry a self-referencing canon, cal combined with its full set of hreflang annotations. This structure is clean, consistent, and avoids the signals that produce indexing confusion.
Does Hreflang Directly Affect Rankings?
Hreflang is not a direct ranking signal in the way that backlinks or page speed are. It does not boost a page’s position in search results on its own. What it does is make certain that the right page from your site is ranked for the right regional audience, rather than allowing Google to make that determination itself.
The indirect effects on rankings are real. When users consistently land on a page relevant to their location and context, bounce rates fall, and engagement metrics improve. These behavioural signals feed back into ranking decisions over time.
There is also the duplicate content dimension: without hreflang, Google may consolidate your regional variants into a single search result, effectively removing your market-specific pages from visibility in their intended regions. The combination of these effects means that correct hreflang implementation tends to produce measurable improvements in regional traffic, even if the mechanism is indirect.
Conclusion
Hreflang tags are a technical requirement with real commercial consequences for any business serving more than one language or region. Getting the implementation right, choosing the correct method for your site’s scale, resolving errors systematically, and addressing the specific complexities of the UK and Irish markets gives your international pages the best possible chance of reaching the right audience. If your site is already live and you are uncertain about your current setup, an audit is the right starting point.
Need help with your international SEO setup? ProfileTree works with businesses across the UK and Ireland on technical SEO, multilingual site audits, and regional targeting strategy. Talk to our SEO team to find out how we can support your international growth.
FAQs
What is the difference between hreflang and canonical tags?
Canonical tags identify which version of a page is the primary one, used to consolidate duplicate content signals. Hreflang tags identify which language or regional audience a page is intended for. They work together but serve different purposes.
Does hreflang help with rankings?
Hreflang is not a direct ranking factor. It does not increase a page’s position in search results by itself. What it does is confirm that the correct regional version of your page appears for users in your target markets, rather than allowing search engines to decide which version to show.
Can I use hreflang for currency-only variations?
Hreflang is designed for language and region combinations, not currency differences alone. If you have English-language pages for UK and Irish audiences that differ only in pricing and currency, the correct approach is to use en-GB the UK version and en-IE for your Irish version.
Why is Google Search Central showing “No Return Tags”?
This error appears when a page carries an hreflang annotation referencing another page, but that referenced page does not carry a reciprocal tag pointing back. The fix requires updating the referenced page, not just the referring one. If your UK page references your Irish page, your Irish page must include an hreflang tag pointing back to your UK page, and both pages must carry self-referential tags.
Does hreflang slow down my website?
HTML-based hreflang tags add a small amount of code to each page’s <head> section, which has a minor impact on page weight. For most sites, this is negligible. XML sitemap implementation has no impact on page load speed whatsoever, since the tags are declared in a separate file that search engine crawlers access independently.