The most frustrating situation for multilingual websites is often not that pages are not indexed, but that they are “indexed, yet send users to the wrong place”: French visitors land on an English page after searching, Mexican users are directed to a Spain-specific pricing page, and content intended for Canada is replaced by the UK version. When users cannot understand the content, see the wrong currency, or find that delivery coverage does not apply, leaving the page is almost inevitable.
Properly configuring hreflang tags tells search engines “which page should be shown to which language or regional audience.” It is not merely a code fix, but an alignment of international SEO, site architecture, and conversion experience. For export business websites, B2B lead-generation sites, and cross-border online stores, getting this right enables content for different markets to truly reach the right people.
The hreflang tag is used to identify relationships between pages with similar content that target different languages or regions. A common implementation is as follows:
<link rel="alternate" hreflang="en-us" href="https://example.com/us/" />
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/" />
<link rel="alternate" hreflang="fr-fr" href="https://example.com/fr/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />Here, en-us represents English for the US market; en-gb represents English for the UK market; and fr-fr represents French for the French market. Search engines combine signals such as users’ language settings, search location, and device environment to try to select the most suitable version.
Note that language codes use the ISO 639-1 standard, while region codes use the ISO 3166-1 Alpha-2 standard. In other words, use pt-br, not br-pt; use zh-cn or zh-tw, and do not invent incorrectly ordered codes such as cn-zh.
The era when “an English website alone is enough” has passed. As long as a website has multiple similar versions, the need for hreflang should be carefully evaluated. For example, the same product may be sold in the United States, the United Kingdom, and Australia; separate pages may be set up in the same language because of differences in taxes, currencies, regulations, or contact details; Chinese content may be divided into Simplified Chinese and Traditional Chinese; or a website may cover English, Spanish, Arabic, and other markets at the same time.
This is especially true for cross-border online stores. Product titles may be identical, but inventory, minimum order quantities, shipping policies, and landing page copy may differ. Without clear version signals, search engines may determine the primary version on their own, ultimately sending users to pages that are unsuitable for their market. For manufacturers that rely on inquiries, such mismatches can also generate invalid inquiries and increase the communication burden on sales teams.

Many operators start by adding tags in bulk, only to discover later that the linking relationships are disorganized. A more reliable approach is to first prepare a page mapping table: identify the corresponding URL for every core page across each language and country version.
Take a product detail page as an example. If US, UK, and French versions all exist, these three pages should declare one another. If a product is sold only on the US website, there is no need to forcibly add UK or French versions for it. Hreflang is not about “the more languages, the better”; relationships should be established only for corresponding pages that genuinely exist and have valid content.
When mapping, also check whether page intent is consistent. If Page A is an “industrial valve product detail” page while Page B is a “valve industry solutions” page, they should not be marked as counterparts even if their keywords are similar. Incorrect pairing weakens search engines’ understanding of page topics and market positioning.
In addition to pointing to other language versions, every page must also declare itself. For example, a US English page should list not only en-us, but also corresponding versions such as en-gb and fr-fr. Missing self-references are a very common issue in actual troubleshooting.
If Page A identifies Page B as its French version, Page B should also point back to Page A as its English version. This “mutual confirmation” relationship is important. If the annotation is sent from only one side and there is no response from the other, search engines may ignore the association.
Addresses entered in hreflang should return a normal 200 status code. They must not redirect to other pages, be deleted pages, or be blocked by robots. If a page has a canonical tag, the hreflang URL should generally be consistent with the page’s canonical URL, preventing one signal from asking search engines to index A while another asks them to display B.
Forcing users to a language site based on IP may seem considerate, but it can actually prevent crawlers from accessing other versions and deprive users who are traveling, using a VPN, or prefer another language of their choice. A more reasonable approach is to retain a clear language-switching option and, where necessary, provide a gentle prompt for users to decide whether to switch.
HTML head tags are suitable for websites with a limited number of pages and centrally manageable templates. Their advantage is clarity, while their disadvantage is that maintenance pressure increases as the number of product and article pages grows rapidly.
XML Sitemap is suitable for online stores or content websites with many URLs and complex language-version relationships. Multilingual associations can be centrally maintained in the sitemap, reducing the code burden on individual pages. However, generation rules must remain stable; otherwise, newly added pages can easily be missed after updates.
HTTP Header is commonly used for non-HTML files such as PDFs and manuals. For example, if an English product manual and a German product manual need to be linked, hreflang information can be conveyed through response headers.
Regardless of which method is used, consistency is the most important factor. Do not provide contradictory version URLs for the same group of pages in both HTML and the sitemap. For teams using intelligent website-building systems, it is recommended to incorporate language, region, canonical links, and page publishing status into unified rules rather than relying on manually copying code page by page.
en for English pages is not necessarily wrong, but when US and UK pages already differ in content and commercial terms, they should be further distinguished as en-us and en-gb.en-US. Although parsing does not usually depend entirely on letter case, team conventions can reduce input errors.After publishing, randomly inspect the homepage, core category pages, product pages, and content pages: check whether hreflang entries in the source code are complete; click each URL to confirm there are no 404 errors, redirect chains, or regional redirects; verify that mutual references are valid; and then use search engine webmaster tools to monitor internationalization, index coverage, and duplicate page notifications.
If the website has recently undergone a domain migration, URL redesign, or bulk generation of multilingual pages, it is advisable to export the mapping table again for review. Multilingual SEO is not a one-time launch task, but infrastructure that requires ongoing maintenance as pages are added or removed and markets are adjusted. When planning overseas website growth, businesses can also refer to An Analysis of the Impact of Digital Transformation on Corporate Resilience to examine website development processes from the perspectives of system coordination and long-term operations.
Yiyingbao provides multilingual website building, SEO optimization, and overseas marketing collaboration capabilities for export businesses and brands expanding internationally. In practice, rather than treating hreflang tags as an isolated piece of code, it is better to manage them together within the website’s language architecture, content localization, canonical links, and market landing page strategy. Only when pages are seen correctly are users more likely to take the next step with the right language, pricing, and service commitments.
Related Articles
Related Products


