DELTAWEB
All posts
Technical SEO

Locale-Adaptive Pages: Google's Guidance and Its Limits

Googlebot may miss variants of locale-adaptive pages. Learn why Google recommends separate URLs with hreflang, where adaptive currency fits, and x-default.

Locale-Adaptive Pages: Google's Guidance and Its Limits
12 minReading time
Arif KuruAuthor

A locale-adaptive page is a single URL that serves a different language or different content depending on the visitor's perceived location or browser language preference. The server looks at the IP address of the request or at the Accept-Language header and returns, for example, a German page to someone in Germany and a French page to someone in France, while the address bar always shows the same address. What looks user-friendly on paper can create a serious visibility problem for search engines. In this article we treat the topic as part of the wider framework of crawling, indexing and rendering on multilingual sites: what Google's documentation says, why it recommends separate URLs, and in which small areas adaptive content can be used without causing trouble.

What Google says about it

Google Search Central has a help page titled "locale-adaptive pages". As far as we know, the core of that document is this: Googlebot may not crawl and index every variant of pages that change their content by location or language. Google recommends using separate URLs for different language and regional versions and connecting those URLs with hreflang. The document also mentions that Googlebot may use some additional crawling methods, such as requests that appear to come from other locations, but it gives no guarantee that these methods will reach every site or every variant.

The conclusion is simple: Google does not forbid a locale-adaptive setup, but it does not advise you to rely on it either. If you want a language version to appear in search, that version needs its own address that Googlebot can reach directly. Google's documentation is updated from time to time and the details may change; check the official source, the relevant page on Google Search Central, for the current state.

The wording of the document is worth noticing as well: it uses phrases of possibility such as "may not crawl" and "may not index". This can mean that on some sites part of the adaptive variants are still discovered. But when you are making a decision for an export website, settling for "it might show up" means leaving a large part of the investment to chance.

Why Googlebot may miss variants

The root of the problem is that the two signals an adaptive page uses to recognise the visitor do not behave as expected with Googlebot. One is the location derived from the IP address; the other is the language preference sent by the browser.

Crawling from the US

According to Google's documentation, most of Googlebot's crawling is done from IP addresses located in the United States. If your server determines location by IP, it will most likely see Googlebot as a visitor from the US and show it the version you prepared for the US, which is usually English. The German, Spanish or Arabic variant may never be put in front of Googlebot at all. We examine this in detail in the article on Googlebot crawling from the US and the risks of location-based content.

Although the documentation does say that Google can crawl from other countries, it is not clear how often this happens or on which sites. Basing a site's indexing plan on that possibility therefore does not give you a solid foundation.

The Accept-Language header

The second signal is the Accept-Language header that the browser sends with each request. For real users this header usually reflects the operating system and browser language. Google's documentation, however, states that Googlebot generally does not send this header in its crawl requests. Without the header, your server falls back to the default language, so Googlebot again sees just one version.

Put these two factors together and the picture becomes clear: if you serve five languages under the same URL, it is a plausible scenario that Googlebot in practice indexes only one language for that URL. The other four languages may exist for users but remain invisible as far as search results are concerned.

Colourful street signs written in several languages along a city street
Photo: mingche lee / Pexels

Four approaches compared

There are four common methods for getting a visitor to the right language on a multilingual export website. The table below summarises how each one behaves in terms of search visibility and user experience. The assessments are based on the general guidance Google has published and on common implementation experience; actual results can vary with the structure of your site.

ApproachHow it worksCrawling and indexingUser experienceWhen it fits
Separate URLs + hreflangEach language or region has its own address; pages are paired with hreflangEach version can be crawled and indexed on its ownUsers land directly on the right version from search and can switch languageEvery language version you want to appear in search
Locale-adaptive (same URL)The server changes the content by IP or Accept-LanguageGooglebot mostly sees one variant; the others may not be indexedAutomatic and handy at first glance, but a shared link opens differently for everyoneOnly small elements that do not change the main content, such as currency
Automatic redirect by IP or Accept-LanguageThe visitor is forcibly sent to a separate URLGooglebot may fail to reach some versions; risk of redirect loopsIf the guess is wrong, the user can get stuck in a language they do not wantGenerally not recommended; only on the homepage, carefully, with a way back
Suggestion bannerThe page opens and a suitable language version is suggested at the topAll URLs stay reachable; crawling is not blockedThe user makes the choice; the preference can be rememberedA helper layer on top of a separate-URL structure

As the table shows, the safest combination is a suggestion banner on top of a separate-URL and hreflang foundation. The locale-adaptive approach and forced redirects may seem convenient for the user, but they can close doors both for the search engine and for some users.

When adaptive content is acceptable

Rejecting the locale-adaptive approach entirely would not be right either. The problem is a change in the page's main content and language. As long as the substance of the page stays the same, adapting a few small elements to the visitor generally does not cause problems.

Currency and small elements

Acceptable examples include showing a price in the visitor's currency, switching the phone number to the nearest regional office, and converting information such as an estimated shipping time or office hours to the local time zone. These elements do not change the topic or language of the page; whichever variant Googlebot sees, it understands the page correctly.

On B2B export websites prices are often given through quotations, so currency adaptation stays limited. Still, letting small blocks such as a "price range", the "minimum order quantity unit" or the "nearest representative" change by location can be considered reasonable use, as long as the main content stays fixed.

Main content should stay fixed

The line is drawn by the answer to one question: if Googlebot saw only one variant, would what it missed be content that could bring search traffic? If the answer is yes, that content deserves its own URL. A product description written in another language, certification information specific to a country, or application examples aimed at a particular market are things people search for, and they belong at their own addresses.

Consistency is another risk. If an adapted element contradicts the page's structured data, the problem can grow. For example, if the product markup states one currency and the visible page shows another, the search engine may not know which one to trust. Small adaptive elements should therefore be fed from the same source as the markup.

A suggestion banner instead of forced redirects

Many sites automatically redirect visitors to a language version based on IP or browser language. This is a step beyond the locale-adaptive page, since at least separate URLs exist. But when the redirect is forced, two problems arise. First, Googlebot coming from a US IP may be sent to the English version every time and can only reach the addresses of the other language versions through internal links or the sitemap. Second, a French purchasing specialist working in Germany, or an engineer using a VPN, can end up stuck in a language they did not want.

Google's general recommendations for international sites also emphasise linking to the other language versions rather than redirecting users automatically. The practical answer is a suggestion banner: the page opens in the requested language and a short message such as "A German version of this page is available. Would you like to switch?" appears at the top.

A well-designed suggestion banner has these qualities:

  • Dismissible: When the user closes the banner, the preference is remembered and it is not shown again.
  • Linked to the page's counterpart: It leads to the same product or article in the other language, not to the homepage.
  • Written in its own language: It addresses the visitor of the suggested language in that language.
  • Does not cover the content: It sits as a thin strip at the top rather than a full-screen pop-up and does not make the page jump on mobile.
  • Does not affect crawling: Showing the banner does not change the page's HTML content; it only adds a suggestion on the client side.

A suggestion banner does not replace the language switcher. A language switcher that is easy to find on every page should be at hand whenever users notice they are on the wrong version.

Electronic flight information board at an airport
Photo: Oscar Chan / Pexels

x-default and the welcome page

Some sites use a welcome or language selection page at the root address, the homepage of the domain, to send visitors to a language version. This is where the hreflang="x-default" value comes in. x-default names the page to show when none of the languages in the hreflang cluster matches the visitor. Google's documentation explains that this value was designed especially for language selector pages or homepages that redirect visitors.

In practice three options stand out:

  1. Language selection page: The root address becomes a neutral page linking to all language versions and is marked as x-default.
  2. Default language: A common choice on export websites is to define the English version as x-default; visitors without a defined market see the English page.
  3. Redirecting root address: The root address sends the visitor to a language version and is marked as x-default. With this option the redirect must stay limited to the root address, and inner pages must always be directly reachable.

Like the other hreflang annotations in the cluster, x-default must be reciprocal: every language version should point to x-default, and the x-default page should point to all language versions. For the details of the terms, see the hreflang glossary covering return tags, clusters and x-default.

Migrating an existing site

If your site currently serves several languages under the same URL, the move to a separate-URL structure should be planned. The sequence below is a commonly followed path for keeping disruption to a minimum:

  1. Take an inventory: List which pages change into which languages and under what conditions. Mark the places in the server code that check IP or Accept-Language.
  2. Choose the URL structure: Decide between a subdirectory (/de/), a subdomain or a country-code domain. On export websites subdirectories are often preferred because they are easier to manage.
  3. Move each language version to its own address: The content of that version should be the same on every request, regardless of the user's IP or browser language.
  4. Add hreflang: Every page should point to itself and to all its counterparts; define x-default.
  5. Remove forced redirects: Replace them with a suggestion banner and a visible language switcher.
  6. Keep the old URL working: The page previously served at a single address is permanently redirected to the default language version or stays as x-default.
  7. Update the sitemap and monitor: Add the new URLs to the sitemap and follow the indexing of each language version in Search Console.

For the details you should check before and after the migration, the 25-point hreflang checklist for before launch is a good starting point.

Caching and testing

A locale-adaptive setup also has an infrastructure side. If the same URL returns different content on different requests, the CDN and cache layers need to know about it. This is usually done with the Vary: Accept-Language header; however, this header reduces cache efficiency and has limited support on some CDNs. With a wrong configuration, the German page can be served to a user or to Googlebot asking for English. We covered the details of this risk in the article on Vary header issues in the CDN and caching layer. With a separate-URL structure most of this complexity disappears, because each address returns a single piece of content and can be cached without worry.

On the testing side, you can use the live test in Search Console's URL Inspection tool to understand what Googlebot sees. The tool shows how the page appears to Google's crawler; the language in the output is a strong hint about which variant will be indexed. The options the tool offers may change over time; check the official source for the current state. In addition, opening the page through a VPN from different countries and with a changed browser language lets you see what real users experience.

When auditing your own site, a single question is a good place to start: does every language version you have own an address that always returns the same content, no matter who is visiting or from which country?

FAQ

Frequently Asked Questions

  • Does Google penalise locale-adaptive pages?

    As far as we know, this is not a penalty issue. The problem is visibility: Googlebot may never see some variants, and those versions may not appear in search. Check the Google Search Central documentation for the current state.

  • Which language version does Googlebot see on a single URL?

    In most cases it sees the version served to a request from a US IP without an Accept-Language header, which is usually the default language. The other languages may therefore not be indexed. You can check your own page with the live test in Search Console's URL Inspection tool.

  • Can I change the currency based on the visitor?

    Generally yes, as long as the main content and language stay the same. Small elements such as currency, phone number or time zone can be adapted. Make sure the currency in your structured data does not contradict the visible page.

  • Why are automatic redirects by IP discouraged?

    Because Googlebot mostly crawls from the US, it may be sent to the same version every time and fail to reach the others. A wrong guess also traps users in a language they did not want. A suggestion banner and a visible language switcher are a safer alternative.

  • Does a suggestion banner hurt search visibility?

    Not when it is set up correctly, because it does not change the page's HTML content and leaves every URL reachable. The banner should not cover content or make the page jump on mobile. When the user dismisses it, the preference should be remembered.

  • Which page should get x-default?

    Usually the language selection page if you have one; otherwise export websites often assign it to the English version. A root address that redirects visitors to a language version can also be marked as x-default. In every case x-default must be reciprocal, like the other annotations in the cluster.

  • Does a Vary: Accept-Language header solve the problem?

    It helps the cache layer serve the right version, but it does not make Googlebot see every variant. It also reduces cache efficiency and has limited support on some CDNs. The lasting fix is a separate URL for each language.

  • What should happen to the old URL during migration?

    The old page served at a single address can be permanently redirected to the default language version or kept as x-default. The aim is that old links and accumulated signals are not wasted. After the move, monitor the indexing of each language version in Search Console.

Related Articles

No comments yet

Leave a Comment