Managing Multi-Regional and Multilingual Sites | Google Search Central  |  Documentation  |  Google for Developers (original) (raw)

If your site offers different content to users in different languages, countries, or regions, you can optimize Google Search results for your site.

What's the difference between multilingual and multi-regional?

Some sites are both multi-regional and multilingual: for example, a site might have different versions for the USA and for Canada, and both French and English versions of the Canadian content.

Managing multilingual versions of your site

If you have identical content in multiple languages on your site, here are some tips for helping users (and Google Search) find the right page:

Use different URLs for different language versions

Google recommends using different URLs for each language version of a page rather than using cookies or browser settings to adjust the content language on the page.

If you use different URLs for different languages, usehreflang annotations to help Google Search results link to the correct language version of a page.

If you prefer to dynamically change content or reroute the user based on language settings,be aware that Google might not find and crawl all your variations. This is because the Googlebot crawler usually originates from the USA. In addition, the crawler sends HTTP requests without setting Accept-Language in the request header.

Tell Google about your different language versions

Google supports several different methods for labeling language or region variants of a page, including hreflang annotations and sitemaps. Mark your pages appropriately.

Make sure the page language is obvious

Google uses the visible content of your page to determine its language. We don't use any code-level language information such as lang attributes, or the URL. You can help Google determine the language correctly by using a single language for content and navigation on each page, and by avoiding side-by-side translations.

Translating only the boilerplate text of your pages while keeping the bulk of your content in a single language (as often happens on pages featuring user-generated content) can create a bad user experience if the same content appears multiple times in search results with various boilerplate languages.

Use robots.txt to block search engines from crawling automatically translated pages on your site. Automated translations don't always make sense and could be viewed as spam. More importantly, a poor or artificial-sounding translation can harm your site's perception.

Let the user switch the page language

If you have multiple versions of a page:

Use language-specific URLs

It's fine to use localized words in the URL, or to use anInternationalized Domain Name (IDN). However, be sure to use UTF-8 encoding in the URL (in fact, we recommend using UTF-8 wherever possible) and remember to escape the URLs properly when linking to them.

Targeting site content to a specific country (geotargeting)

You can target your website or parts of it to users in a single specific country that speaks a specific language. This can improve your page rankings in the target country, but at the expense of results in other locales or languages.

To geotarget your site on Google:

Remember that geotargeting isn't an exact science, so it's important to consider users who land on the "wrong" version of your site. One way to do this could be to show links on all pages for users to select their region and/or language of choice.

Using locale-specific URLs

Consider using a URL structure that makes it easy to geotarget your site, or parts of it, to different regions. The following table describes your options:

URL structure options
Country-specific domain example.de Pros: Clear geotargeting Server location irrelevant Easy separation of sites Cons: Expensive (can have limited availability) Requires more infrastructure Strict ccTLD requirements (sometimes) Can only target a single country
Subdomains with gTLD de.example.com Pros: Easy to set up Allows different server locations Easy separation of sites Cons: Users might not recognize geotargeting from the URL alone (is "de" the language or country?)
Subdirectories with gTLD example.com/de/ Pros: Easy to set up Low maintenance (same host) Cons: Users might not recognize geotargeting from the URL alone Single server location Separation of sites harder
URL parameters site.com?loc=de Not recommended. Cons: URL-based segmentation difficult Users might not recognize geotargeting from the URL alone

How does Google determine a target locale?

Google relies on a number of signals to determine the best target audience for a page:

What Google doesn't do:

Handling duplicate pages with multilingual/multi-regional sites

If you provide similar or duplicate content on different URLs in the same language as part of a multi-regional site (for instance, if both example.de/ and example.com/de/ show similar German language content), pick a preferred version and use therel="canonical" element and hreflang tags to make sure that the correct language or regional URL is served to searchers.

Generic top-level domains

Generic top-level domains (gTLDs) are domains that aren't associated with specific locations. If your site has a generic top-level domain such as .com, .org, or any of the following domains, and wants to target users in a particular geographic location, explicitly set a country target using one of the methods described previously.

Google treats the following top level domains as gTLDs: