← Back to blog
Our WordPress plugins
September 7, 2026

WPML URL Format: Directory vs Domain vs Subdomain—Which Should You Choose?

WPML URL Format: Directory vs Domain vs Subdomain—Which Should You Choose?

A language URL choice can quietly shape far more than the flag in your site header. Pick /fr/, fr.example.com, or a separate country domain, and you are also choosing how search engines interpret your language targeting, how your hosting is configured, what your analytics reports look like, and how much maintenance waits for you later.

That is why wpml url format directory vs domain is not a question with a one-size-fits-all answer. A directory setup may be the cleanest route for one growing site, while subdomains or separate domains can make more sense when markets, teams, branding, or regional strategies need room to diverge. The “easy” option today is not always the one you will be glad you chose after adding three more languages.

Before committing to a structure that will appear in every shared link, indexed page, and reporting dashboard, it is worth looking beyond surface-level SEO advice. The practical trade-offs are where the right choice becomes clear.

What Are WPML’s Language URL Format Options?

What Are WPML’s Language URL Format Options?

Your language URL is not a cosmetic setting. It determines where visitors land, what your hosting team must configure, and how clearly search engines can understand the relationship between translated pages. In the wpml url format directory vs domain decision, WPML offers three basic structures; the translated content can be the same, but the operational trade-offs are not.

Languages in directories

Directories place each language after the main domain, such as example.com/fr/, example.com/de/, or example.com/es/. This is the familiar default for many multilingual WordPress sites because every version remains under one primary domain. A French product page might become example.com/fr/products/, while the English original stays at example.com/products/.

It is usually the simplest arrangement to launch and maintain: one domain registration, one SSL setup, and one hosting environment. It also gives the site a visibly unified brand presence.

Languages on subdomains

Subdomains move the language before the main domain: fr.example.com or de.example.com. WPML can use this structure, but the domain’s DNS must be configured so each subdomain points to the WordPress installation. That extra setup is small for an experienced administrator, yet it is a real dependency—not merely a checkbox in WPML.

Subdomains can feel more independent than folders. They are useful when language teams need distinct hosting rules, analytics views, or regional branding, even though they still sit beneath the same parent brand domain.

Languages on separate domains

Separate domains assign a different domain to each language version, for example example.fr and example.de. This requires the most administration: every domain must be registered, connected, secured, and mapped correctly to the site.

Do not confuse language with country. A French-language site can use a language-oriented strategy, but .fr is a France country-code domain and signals a geographic focus. Separate domains make sense when markets truly operate as distinct national properties; for a single brand serving several languages, that overhead is often unnecessary.

Directory vs Domain vs Subdomain: The Key Decision Factors

Which URL format is best for multilingual SEO?

The URL choice rarely makes or breaks rankings on its own; weak localization does. WPML can add hreflang annotations for equivalent pages across directories, subdomains, and separate domains, helping search engines serve the right language or regional version. Still, directories are usually the pragmatic SEO choice: example.com/fr/ keeps content, backlinks, and brand authority under one domain. That makes link-building and reporting simpler. In the wpml url format directory vs domain debate, choose separate domains only when the business case is stronger than the consolidation advantage.

Do you need country-specific branding or local trust?

A country-code domain such as example.de can signal a genuine local presence. It makes sense when Germany has its own pricing, legal terms, support team, inventory, campaigns, or brand positioning. A global SaaS site translating the same product pages into five languages usually does not need that complexity. Subdomains, such as de.example.com, can provide clearer market separation without buying a domain for every country, but they rarely create the local-trust effect of a ccTLD.

How much technical setup can your team support?

Directories are the lowest-friction option because one WordPress installation, DNS configuration, SSL certificate, and staging environment can serve every language. Subdomains require DNS records and careful SSL coverage. Separate domains add redirects, Search Console properties, deployment checks, and more opportunities for a staging change to miss one market. WPML supports all three, but supportability—not feature availability—should drive the decision.

What will each option cost to maintain?

Directories add almost no infrastructure cost beyond translation and content review. Subdomains may add hosting or certificate administration. Separate domains bring registration and renewal fees, potentially separate hosting arrangements, and more agency time for SEO monitoring, analytics, cookie compliance, redirects, and campaign tracking. For most small and mid-sized sites, one domain with language directories delivers the best balance of SEO clarity, cost control, and operational sanity.

When to Choose Each WPML URL Format

The best URL structure is usually the one you will not need to undo in two years. In the WPML URL format directory vs domain decision, technical preference matters less than how independently each language or country site must operate.

Choose directories for most multilingual WordPress sites

For blogs, SaaS marketing sites, small businesses, and most international brands, directories are the practical default: example.com/es/, example.com/de/. They keep every language under one primary domain, simplify hosting and maintenance, and make the site easier to manage as one property. This is the sensible choice when translated pages share the same products, design, and editorial strategy. If you already use WPML, LATW AI Translator for WPML can reduce the cost of translating that growing content library, but it requires WPML to handle the multilingual setup.

Choose subdomains when language sites need more separation

Subdomains such as es.example.com suit organizations that need modest technical boundaries without purchasing country domains. A regional team might manage its own releases, tracking setup, or hosting configuration while remaining part of the same brand. They are useful for operational separation, not a shortcut to better rankings; search engines can understand either structure when implementation is sound.

Choose separate domains for country-led expansion

Use country domains when markets are genuinely different businesses. An established French brand using example.fr, a franchise network, or a regulated financial or healthcare company may need local legal pages, pricing, inventory, support, and campaigns. Separate domains cost more to maintain and must build authority individually, so they are hard to justify for a simple translation of the same site.

Avoid changing URL formats after international SEO has grown

A format migration is not cosmetic. It can disrupt redirects, indexing, analytics, backlinks, consent tools, and campaign tracking. Choose a structure that fits your next expansion phase early. If a change is unavoidable, map every old URL to its equivalent, preserve hreflang signals, test redirects, and monitor search performance closely after launch.

How to Set Up Your Chosen WPML URL Structure Correctly

Configure the language URL format in WPML

A URL decision only works if the infrastructure is ready before you switch it on. In WordPress, go to WPML → Languages → Language URL format and select directories, different domains, or subdomains. Directories are usually the quickest option. For subdomains or separate domains, create the DNS records first, point every hostname to the same WordPress installation, and confirm that SSL certificates cover them. Test a translated page in a private browser window before announcing the change.

Verify hreflang, canonicals, sitemaps, and redirects

After launch, inspect source code and Search Console rather than assuming WPML handled every edge case. Each translated page should be indexable, include reciprocal hreflang links, and use a self-referencing canonical for its own language URL. Check that multilingual sitemap entries load, then crawl a sample of old and new URLs. Any retired format—such as /de/ becoming de.example.com—needs a clean, single-hop 301 redirect to its equivalent page.

Keep translated content and slugs consistent

The best wpml url format directory vs domain choice can still feel broken when navigation sends visitors to mismatched destinations. Review translated SEO titles, descriptions, slugs, menus, category bases, and taxonomy archives. A German product page should link to German checkout, support, and category pages—not silently return the visitor to English. Also check that manually translated slugs remain unique and meaningful; automatic URL fragments can create confusing search snippets.

Reduce WPML translation costs with LATW AI Translator for WPML

For sites already running WPML, LATW AI Translator for WPML is an add-on, not a standalone multilingual plugin. It connects WPML’s workflow to AI and machine-translation providers using your own API key, sending content directly from WordPress to the chosen provider. It can translate page content and SEO fields while helping teams avoid WPML’s credit-based automatic translation costs. WPML still manages the languages, routing, and URL structure; LATW supplies the translation engine.

Choose the Structure You Can Sustain

For most sites, language directories offer the most practical balance of SEO clarity, manageable hosting, and low operational overhead. Subdomains and separate domains make sense when languages represent genuinely distinct regional properties, teams, legal requirements, or market strategies—but they introduce more infrastructure, coordination, and migration risk. In the wpml url format directory vs domain decision, the best option is rarely the most elaborate one; it is the one that matches how your organization will actually maintain each market over time.

Before publishing your first translated page, map your long-term localization model: who owns each language, how regional content will differ, what your hosting and analytics setup can support, and how difficult a future change would be. Choose a URL structure as an operational commitment, not merely an SEO setting.

Our WordPress plugins
Translate your WordPress site with AI
Pick the LATW plugin that fits how your site is built - a complete standalone multilingual system, or drop-in AI translation for the setup you already run.
LATW for WPML Add-on for WPML
LATW for WPML
Translate posts, pages, custom fields, builder content and strings 1400× cheaper than WPML's Automatic Translation - billed to your own API key.
Works with everything WPML supports
Gutenberg, WooCommerce, Elementor, Bricks
Yoast & Rank Math SEO fields
Read more →
LATW Multilingual Standalone
LATW Multilingual
Language switcher, clean URLs and full multilingual SEO in one package - no WPML or Polylang required. Pro adds AI translation on six engines.
Standalone - no WPML or Polylang needed
Switcher, clean URLs & full hreflang SEO
Free bilingual site; Pro adds AI translation
Read more →
← Back to blog