When a company expands its web platform into Vietnamese (VI), English (EN), and Simplified Chinese (ZH), ranking drops rarely come from poor copywriting alone. More often, they stem from broken routing and conflicting indexing signals. Without explicit relationships between localized URLs, search engines may serve the English page to Vietnamese queries, drop Chinese pages as suspected duplicates, or split authority across inconsistent paths.
Solving this reliably at the engineering layer requires coordinating four pieces together: subdirectory URL structure, reciprocal hreflang with x-default, self-referencing canonicals, and consistent XML sitemaps.
Choosing URL Architecture: Subdirectories (/vi, /en, /zh) vs Subdomains and ccTLDs
Google Search Central outlines three standard patterns for hosting localized versions of a site. Picking the wrong pattern early creates expensive domain migrations and months of organic traffic volatility later.
| Engineering Criterion | Subdirectories (/vi/, /en/, /zh/) | Subdomains (vi., en., zh.) | Country ccTLDs (.vn, .com) |
|---|
| Domain authority sharing | Consolidated on one root domain | Often evaluated separately | Isolated per domain |
| DNS and TLS management | Single configuration | Wildcard or multi-record setup | Separate registrars and certs |
| Regional targeting flexibility | Language-based, easy to adjust | Supports separate hosting | Tied tightly to one country |
| Codebase & ops overhead | Low, single deployment unit | Medium, host-based routing | High, fragmented deployments |
For most B2B, SaaS, and technology platforms serving multiple languages from a shared product catalog or knowledge base, subdirectories using ISO 639-1 prefixes (/vi, /en, /zh) offer the cleanest engineering trade-off. Backlinks earned by English documentation strengthen the root domain that also houses Vietnamese and Simplified Chinese routes.
Consistency matters just as much as the prefix choice. Pick one trailing-slash convention across all routes and keep every localized content page under its explicit prefix (/vi/..., /en/..., /zh/...). If the root / acts as a language gateway or x-default landing page, avoid mixing unprefixed Vietnamese URLs with prefixed English or Chinese URLs, because partial prefixing complicates canonical generation and automated link audits.
Reciprocal hreflang, x-default, and Self-Referencing Canonicals
A frequent root cause of de-indexed translations is confusing two tags with opposite purposes. rel="canonical" tells search engines to collapse duplicate URLs into one preferred version, whereas rel="alternate" hreflang="..." tells search engines that each URL is a distinct localized equivalent meant to stay indexed for its target audience.
Two non-negotiable rules keep these signals aligned:
- 01Canonical tags must be self-referencing per locale: The page
/vi/services/web-development must declare <link rel="canonical" href="https://example.com/vi/services/web-development" /> (with tracking query parameters stripped). Never point the canonical of a Vietnamese or Chinese page to the English URL. Cross-language canonicals instruct Google to treat the localized page as a duplicate of the English page and remove it from search results. - 02hreflang clusters must be reciprocal and self-inclusive: Every localized page must list all available language variants in the cluster, including itself, plus
x-default for users whose language does not match any explicit variant. If /vi/ references /zh/, but /zh/ omits the return link to /vi/, Google ignores the relationship.
Here is a valid <head> configuration for /vi/services/web-development:
<link rel="canonical" href="https://example.com/vi/services/web-development" />
<link rel="alternate" hreflang="vi" href="https://example.com/vi/services/web-development" />
<link rel="alternate" hreflang="en" href="https://example.com/en/services/web-development" />
<link rel="alternate" hreflang="zh-Hans" href="https://example.com/zh/services/web-development" />
<link rel="alternate" hreflang="x-default" href="https://example.com/en/services/web-development" />
For Simplified Chinese, teams can choose zh (general Chinese) or zh-Hans (explicitly Simplified script, distinguishing it from zh-Hant Traditional Chinese), or zh-CN when targeting mainland China specifically. Whatever code you choose, use it uniformly across HTML tags, sitemaps, and <html lang="...">. In ToanKhonTech's web development service, this metadata cluster is generated programmatically from a single translation mapping table so missing return links cannot slip into production.
Localized Sitemaps and Avoiding Auto-Redirect Crawler Traps
Google supports three methods for declaring hreflang: HTML <head> link tags, HTTP Link response headers (useful for non-HTML files such as PDFs), and XML sitemaps using xhtml:link annotations. For larger platforms with thousands of localized routes, placing hreflang clusters inside XML sitemaps keeps HTML payloads smaller and lets engineers validate cluster symmetry from a single generated feed.
Even with valid sitemaps and hreflang tags, edge routing rules can still break discovery through automatic GeoIP or `Accept-Language` redirects:
- Googlebot crawls primarily from US-based IP addresses and often sends requests without user-style
Accept-Language headers. - If edge middleware forces a
302 redirect from /vi/... or /zh/... to /en/... whenever a request originates from a US IP, crawlers never reach the Vietnamese or Chinese HTML responses.
Keep every localized URL directly accessible with 200 OK regardless of client IP or browser headers. If you want to guide first-time visitors to their preferred language, render a non-blocking banner that lets users switch manually rather than forcing server-side redirects.
Pre-release engineering checklist for multilingual launches:
- 01Verify every URL listed in
hreflang and XML sitemaps returns HTTP 200 OK directly, with zero 301/302 hops and no noindex directives. - 02Audit cluster reciprocity: if page A references B and C, both B and C must reference A, B, and C using identical normalized URLs.
- 03Confirm the HTML
<html lang="..."> attribute matches the actual page language (vi, en, zh-Hans). - 04Only publish localized URLs when the translation is complete; avoid exposing empty placeholder routes or mixed-language pages in sitemaps.
Scope, Caveats, and Honest Limitations
This guide reflects Google Search Central's published documentation on internationalized URLs and duplicate consolidation alongside ToanKhonTech's production web architecture practices. As Google explicitly documents, hreflang is a signal, not a hard directive. Search engines may still fold pages whose content appears nearly identical (such as en-US and en-GB variants with minimal differences) or disregard clusters when canonicals, status codes, or internal links contradict each other.
Additionally, these patterns specifically address Google crawling and indexing behavior. If your Chinese audience relies heavily on regional search engines such as Baidu, hreflang alone will not guarantee visibility; you will also need to account for regional hosting latency, local search engine verification, and clean HTML language attributes tailored to each engine's crawler rules.