Blog / Technical SEO /
Technical SEO: hreflang for regional storefronts
Your UK shopper sees pounds. Your US shopper sees dollars. Everyone’s happy. Then you search for your own product and Google shows the US page to someone in Manchester.
A regional storefront can show the right language to the right visitor and still send confusing signals to search engines. Hreflang is one way to describe how the regional or language versions of a page relate. It doesn’t translate your site, detect a visitor’s location or fix every duplicate-content issue.
And the hard part usually isn’t adding the attribute. It’s keeping a complete, reciprocal set of page relationships correct while content and URLs keep changing. So before you implement anything, decide which versions actually exist and whether each one deserves to be found.
Map the versions people can use
List the URLs that serve the same, or closely equivalent, content for different languages or regional audiences. Separate a true language version from a page that just mentions a country. A regional version might have local products, currency or availability in the same language. A language version might serve readers across several countries.
Build the map page by page. A global English homepage, a regional product page and an Arabic support article can each have different sets of alternates. Don’t assume every URL has a twin in every language or market. If a page has no genuine equivalent, don’t force it into a group just to make the spreadsheet look complete.
Record the canonical URL, language or language-region code, indexability and status code for each version. Hreflang should point to pages users can reach and search engines can index. A translated page that redirects, errors or is blocked from crawling is no use as an alternate.
Use valid, reciprocal references
Every page in a group should reference itself and the other relevant versions. And the alternates have to point back. A page shouldn’t name a regional URL that doesn’t acknowledge it in return. Keep URLs absolute and exact, with the right protocol and hostname.
Use valid language codes, and add a region only when it actually separates audiences. If there’s a general language version, it can sit in the group alongside the regional ones. Don’t invent a language-region combination that isn’t a real version just because it makes the set look complete.
Pick one implementation method your team can maintain: HTML annotations, sitemap entries or HTTP headers where appropriate. Several methods can work, but stacking all of them without a clear owner makes it likely they’ll drift apart. When they disagree, debugging gets miserable. I’d pick the method that matches how the team already publishes, even if another looks neater on paper.
Treat canonical and hreflang as different signals
A canonical tag names the preferred URL among duplicate or very similar pages. Hreflang describes alternate versions for different languages or regions. Related questions, different signals. Each regional page should usually name itself as canonical when it’s a distinct, intended version. If every locale canonicals to one global page, you’re telling search engines the others are duplicates while also asking them to serve those same pages as alternates.
Sometimes pages shouldn’t be indexed, or one version really is a duplicate. Settle the intended architecture before you add tags. Don’t use hreflang to cover up an unclear URL strategy, and don’t use a canonical to force one market page on every visitor.
Test the implementation as a system
Crawl a sample, then the full set of mapped URLs. Check each page returns the expected status, has the expected canonical, includes its own hreflang reference and gets the relationship back from its alternates. Look for typos, missing targets, redirects, noindex directives and URLs that changed during a migration. When I audit hreflang, the missing return link is the first thing I look for, because it’s the easiest one to break without noticing.
Use Search Console and your crawler to investigate errors. Remember, though, that the source code only proves what the site outputs. It doesn’t guarantee which version search engines will show in every context. Check whether the pages are indexed and whether the intended versions turn up for relevant searches over time.
When a page is added, translated, moved or retired, update the mapping as part of publishing. A stale sitemap entry or old hreflang reference can outlive the page it described. Give someone ownership and test the change in release QA.
Keep the experience consistent
Search signals can’t make up for a poor regional experience. The page’s language, product availability, shipping details, currency and support information should match the audience it targets. If someone lands on the wrong version, give them a clear way to switch, instead of force-redirecting them based on a guess about their location.
Plan for pages with no direct counterpart
A language or regional inventory is rarely a perfect grid. Some product lines only sell in one market. A help page might apply to every market that shares a language. Decide what to do with each gap. It might be right to have no alternate, to link to a general-language version, or to translate the page later. What matters is that the choice reflects the user’s experience, not a wish to fill every row.
Don’t redirect a visitor to an unrelated regional homepage just because the exact page doesn’t exist in their locale. A clear language or market selector is usually more helpful. If a search engine picks a different version than you expected, look at the content, links and signals before you pile on more elaborate tag rules.
Document these exceptions so the next editor doesn’t “fix” them by adding a URL that isn’t equivalent. A good mapping explains the relationships and the places where none exists.
Related reading
- Technical SEO: rendered HTML checks for JavaScript storefronts
- Hreflang basics for multilingual sites
- Technical SEO: mobile rendering on collection pages
Hreflang earns its keep when the site has real alternate versions and someone owns the map. So, which pages in your regional setup have genuine equivalents, and who’ll keep those relationships right after the next content change?