Guide
Subdirectory or subdomain for a multilingual site
Subdirectory vs subdomain: for a multilingual site, a subdirectory (example.com/es) is simpler than a subdomain (es.example.com), because it is one site, one host and one place to maintain. A subdomain makes sense when a language needs its own server or its own team. Search engines can work with both, as long as every language has its own addresses.
Subdirectory, subdomain or separate domain
There are three common ways to give a language its own addresses:
| Structure | Example | What it is |
|---|---|---|
| Subdirectory | example.com/es | A folder inside the same site |
| Subdomain | es.example.com | A separate host under the same domain |
| Separate domain | example.es | A different domain, often a country domain |
A fourth way, a language parameter such as example.com?lang=es, is the one structure Google marks as not recommended.
What Google says about each structure
Google’s guide to multi-regional and multilingual sites recommends different addresses for each language version of a page, instead of cookies or browser settings that change the language on one address. It then lists the structures with their strengths and weaknesses:
| Structure | For | Against |
|---|---|---|
| Subdirectory | Easy to set up. Low maintenance, because it is the same host. | Single server location. Harder to separate the sites. |
| Subdomain | Easy to set up. Allows different server locations. Easy to separate the sites. | Visitors may not tell from the address whether de is a language or a country. |
| Country domain | Clear targeting of one country. Server location does not matter. Easy to separate the sites. | Expensive, needs more infrastructure, and can only target a single country. |
However, that list is for sites that target countries. A language is not a country: the same language is often spoken in many countries. If you translate your site but do not split it by country, the country column matters little. As a result, the subdirectory vs subdomain question becomes one of upkeep.
Subdirectory vs subdomain: the upkeep
In WordPress, however, the two choices are very different amounts of work.
- A subdirectory lives inside the site you already have. One WordPress, one theme, one set of plugins, one login, one backup.
- A subdomain is a second host. It needs its own DNS record, and in WordPress it usually means a second installation or a multisite network, where every site has its own content and settings to keep in step.
Which one to choose
- Choose subdirectories when one team runs one site in several languages. This covers most small and medium sites.
- Choose subdomains when a language must live on its own server, or when a separate team runs it with its own design and plugins.
- Choose country domains when you run separate businesses per country and want each one clearly tied to its country.
Whatever you choose, first do the two things Google asks of every multilingual site: give each language its own addresses, and connect the versions with hreflang tags. In addition, Google advises against sending visitors to a language automatically, and suggests links between the language versions so that people can choose.
How Vabelon does it: subdirectories
Vabelon uses subdirectories. Your default language keeps the addresses it has now, and every other language starts with its own prefix, such as /es/sobre-nosotros next to /about-us. Therefore, there is no second site to install and no DNS to change. The details are in how language addresses work.