---
title: "Redirect based on browser language: is it safe for SEO?"
description: "Should your site redirect visitors by browser language? What Google says, three choices from a banner to a redirect, and eight rules that keep your pages found."
url: "https://www.langrelay.com/blog/browser-language-redirect"
---

1. [Home](https://www.langrelay.com/)
2. [Blog](https://www.langrelay.com/blog)
3. Should you redirect based on browser language?

Article

# Should you redirect based on browser language?

Should your site redirect visitors by browser language? What Google says, three choices from a banner to a redirect, and eight rules that keep your pages found.

[Chris Jayden](https://www.langrelay.com/about)

Founder

Published

18 November 2026

Reading time

8 min read

![A stone harbour quay at dawn forks into two lanes between pastel houses, one lit gold by a lamp and the other in soft blue shade.](https://www.langrelay.com/_emdash/api/media/file/01M7PYQK9WR0F7BDHD96HY1D1R.webp)

On this page

1. Why automatic language redirects are tempting
2. What Google says about redirecting by language
3. How does a browser tell a site which language a visitor prefers?
4. Should you redirect based on browser language? Your three choices
5. Rules that keep a redirect safe for visitors and search
6. How to check what your site does today
7. Common questions
8. Should the language suggestion be written in the visitor's language?
9. Does a redirect slow the page down?
10. What about visitors who use a VPN?
11. Is a language selection page on the home page a good idea?

Most websites should not redirect based on browser language. Google advises against sending visitors to another language version on a guess, because visitors and search engines may then never see your other versions. The safer choice is to suggest the visitor's language with a small banner, and to redirect only from a page with no language of its own.

If you look after a site in two or more languages, the idea comes up sooner or later. A visitor from Lyon lands on the English home page, so why not send them to the French one straight away? This article covers what Google says, how a browser tells a site which languages its user reads, the three choices you have, and the rules that keep any redirect safe. It ends with a short check you can run on your own site.

## Why automatic language redirects are tempting

The case for a redirect is easy to make. A visitor who reads Spanish and lands on English text may leave before they find the language switcher. A redirect seems to remove that step: the right language, with no click. It also looks good in your numbers, since more visitors start on a page in their own language. It is often a single setting in a translation tool or theme, so it gets switched on without much thought.

The trouble is that a redirect makes a guess for the visitor, and guesses go wrong in a few familiar ways:

- The browser language is not always the reader's choice. The [W3C's article on language negotiation](https://www.w3.org/International/questions/qa-site-conneg) points out that people use shared or borrowed computers, and that some prefer to read the original rather than a translation. Think of a guest on a hotel lobby computer, or a Dutch marketer whose laptop came set to English.
- Shared links stop working as sent. A customer sends a friend the link to your French page. The friend's browser is set to English, so the site sends them somewhere else.
- Search engines may miss pages, which is the part Google writes about.

![A traveller with a suitcase stands puzzled at a hotel lobby's shared computer while the receptionist points to the corner of the screen.](https://www.langrelay.com/_emdash/api/media/file/01M7PYMDV3NY1REXVX2082ZPSJ.webp)

## What Google says about redirecting by language

[Google's guide to multilingual sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites) is direct. As of November 2026 (the page was last updated on 10 December 2025), it says: "Avoid automatically redirecting users from one language version of a site to a different language version of a site. For example, don't redirect based on what you think the user's language may be." The next sentence gives the reason: such redirects "could prevent users (and search engines) from viewing all the versions of your site."

The same guide, and Google's page on [locale-adaptive pages](https://developers.google.com/search/docs/specialty/international/locale-adaptive-pages), explain how search engines are affected. If you reroute users based on language settings, Google says it "might not find and crawl all your variations", because its crawler usually comes from the USA and sends its requests without any language preference. In plain terms, Google's crawler arrives with no language list at all. Whatever your site does for a visitor with no preference is what Google sees.

This is a warning about discovery. Google's page does not describe a ranking penalty for redirects; it says the crawler may not reach every version, and a page it never reaches cannot appear in results in any language.

What Google recommends instead is a separate URL for each language, linked together with hreflang (the [complete guide to hreflang](https://www.langrelay.com/guides/hreflang) explains the tags), plus links on each page to its other language versions so visitors can choose. For a page whose job is to send visitors on, [Google's hreflang documentation](https://developers.google.com/search/docs/specialty/international/localized-versions) suggests a fallback marked [x-default](https://www.langrelay.com/glossary/x-default), "especially on language/country selectors or auto-redirecting home pages."

## How does a browser tell a site which language a visitor prefers?

Through a list of languages, set in the browser and ordered by preference. A site can read that list in two places: the browser sends it with every page request as the [Accept-Language header](https://www.langrelay.com/glossary/accept-language), and a script on the page can read the same list as `navigator.languages`. A reader in Montreal who prefers Canadian French, then any French, then English might send this:

```
Accept-Language: fr-CA,fr;q=0.9,en;q=0.8
```

Read it from left to right. The first entry is the favourite, and the `q` numbers are weights: the higher the number, the stronger the preference.

![Diagram of a browser language list with French first and English second going to a website, which sends the visitor to the French page and only points faintly to the English page.](https://www.langrelay.com/_emdash/api/media/file/01M7PYMHQXTEB6ZSR5HKMS4VF8.webp)

The list says which languages a person reads, which makes it a better guide than their location. Google tells site owners not to use IP analysis to adapt content, and calls it "difficult and generally not reliable". A visitor in Brussels may read French, Dutch or English, and an address cannot tell you which.

Still, the list is a weaker signal than it looks, for three reasons:

1. It is usually set once, often by whoever set up the device, and many people never open that setting.
2. For privacy, some browsers send a shorter list. As of November 2026, [MDN notes](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages) that Safari always lists only one language, and Chrome does the same in incognito mode.
3. Google's crawler sends no list at all, as above, so a site that reacts to the list behaves differently for Google than for most people.

## Should you redirect based on browser language? Your three choices

You have three options, from the most careful to the most forceful. For most business sites the middle one gives the best balance.

| Choice | What the visitor sees | The risk |
| --- | --- | --- |
| No redirect | The page they asked for, with a language switcher | Some visitors never notice their language is there |
| Suggest | The page they asked for, plus a small banner offering their language | Small, if the banner is easy to close |
| Redirect | A different page from the one they asked for | Wrong guesses, links that change when shared, pages search engines may miss |

**No redirect.** Every URL shows what it says, and a switcher on every page does the rest. This is what Google's guide describes, and it suits a site whose visitors mostly arrive from search results that already match their language. The article on [language switcher best practices](https://www.langrelay.com/blog/language-switcher-best-practices) covers where to put one.

**Suggest.** The page loads as requested, then a short line at the top offers the visitor's language, with a button to switch and a way to close it. The visitor decides. Search engines are unaffected, because the page they fetch is the page at the URL. This suits most sites with several languages.

![A woman at a kitchen table reaches to tap one of two small buttons in a thin banner across the top of a web page on her laptop.](https://www.langrelay.com/_emdash/api/media/file/01M7PYMF9A2HKXXZYM435WMG02.webp)

**Redirect.** The site sends the visitor to another URL before they see anything. If you choose this, keep it narrow: only the bare home address (example.com/, which has no language of its own), and only on a first visit. Google's hreflang documentation names auto-redirecting home pages as one place to use x-default, so it expects some sites to have them. A page that already has a language in its address should never redirect.

## Rules that keep a redirect safe for visitors and search

If you suggest a language or redirect to one, these rules keep visitors in control and every language visible to search engines:

1. **Every language URL works on its own.** Open /fr/contact with no language preference and you get the French contact page, every time. That is how Google's crawler arrives, and how anyone following a shared link arrives.
2. **Act only on a page without a language.** The bare home address may choose a language for the visitor. A page such as /de/prices should never send anyone to /en/prices.
3. **Send visitors to the same page in their language.** A visitor on the English returns page who prefers Spanish goes to the Spanish returns page, never to the Spanish home page. If that page has no translation yet, leave the visitor where they are.
4. **Remember the visitor's choice.** Once someone picks a language with the switcher, or closes the banner, stop suggesting and never redirect them again. The W3C article describes the same pattern: when a user chooses a language, follow that choice from then on instead of the browser setting.
5. **Use the browser's language list, never the visitor's location.** Location tells you a country, and many countries have more than one language.
6. **Keep the switcher on every page.** A guess will sometimes be wrong, and the way back should be one click away.
7. **Mark the deciding page as x-default.** If your home address redirects or asks visitors to pick a language, list it as the x-default in your hreflang tags. The article on [self-referencing hreflang and x-default](https://www.langrelay.com/blog/self-referencing-hreflang-x-default) shows the tags.
8. **Make any redirect temporary.** [MDN describes a permanent redirect](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections) (301) as one meant to last forever, which search engine robots act on by updating the address they keep. A redirect that changes from one visitor to the next is not that, so use a temporary one (302 or 307).

## How to check what your site does today

You do not need a developer to see how your site behaves. Five checks, in one browser:

1. Open a private window and visit your home page. Note the address you end up on.
2. In your browser's language settings, move another of your site's languages to the top of the list. Reload the home page. Did the page change, or did a banner appear?
3. Paste a link to one of your translated pages, such as the French contact page, into that window. You should land on exactly that page, in French.
4. Pick a language with the switcher, open another page, and check that your choice stayed.
5. In Google Search Console, run [URL Inspection](https://support.google.com/webmasters/answer/9012289) on a translated page and click View crawled page. The page Google fetched should be in that page's language.

If check 3 or check 5 fails, your redirect is hiding pages from someone, and that is the first thing to fix. When everything passes, set your browser's language list back the way it was.

## Common questions

### Should the language suggestion be written in the visitor's language?

Yes. Write the offer in the language you are offering, so a reader who cannot read the current page still understands it. The W3C gives the same advice for language links: write each one in its own language.

### Does a redirect slow the page down?

A little. Each redirect is one more trip across the network before the page starts to load, and [Google's Lighthouse documentation](https://developer.chrome.com/docs/lighthouse/performance/redirects) says that extra trip can delay loading by hundreds of milliseconds. A suggestion banner adds no redirect at all.

### What about visitors who use a VPN?

A VPN changes where a visitor appears to be, and leaves their browser's language list as it was. That is one more reason to go by the language list rather than location: a German reader connected through a server in the Netherlands still reads German.

### Is a language selection page on the home page a good idea?

It costs every visitor a click before they see anything, including the visitors whose language you could have shown straight away. A home page in your main language with a suggestion banner usually serves people better. If you keep a selection page, mark it as the x-default in your hreflang tags.

## Sources

The pages this one cites, with the day each was read.

1. 01[Managing multi-regional and multilingual sites (Google Search Central)](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)developers.google.com, checked 18 November 2026
2. 02[How Google crawls locale-adaptive pages (Google Search Central)](https://developers.google.com/search/docs/specialty/international/locale-adaptive-pages)developers.google.com, checked 18 November 2026
3. 03[Tell Google about localized versions of your page (Google Search Central)](https://developers.google.com/search/docs/specialty/international/localized-versions)developers.google.com, checked 18 November 2026
4. 04[Language negotiation and links on a multilingual site (W3C Internationalization)](https://www.w3.org/International/questions/qa-site-conneg)w3.org, checked 18 November 2026
5. 05[Navigator: languages property (MDN Web Docs)](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages)developer.mozilla.org, checked 18 November 2026
6. 06[Accept-Language header (MDN Web Docs)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language)developer.mozilla.org, checked 18 November 2026
7. 07[Redirections in HTTP (MDN Web Docs)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections)developer.mozilla.org, checked 18 November 2026
8. 08[Avoid multiple page redirects (Chrome for Developers, Lighthouse)](https://developer.chrome.com/docs/lighthouse/performance/redirects)developer.chrome.com, checked 18 November 2026
9. 09[URL Inspection tool (Search Console Help)](https://support.google.com/webmasters/answer/9012289)support.google.com, checked 18 November 2026

[Chris Jayden](https://www.langrelay.com/about)

Founder, LangRelay

Chris Jayden is the founder of LangRelay. Chris has worked on websites of every size, from large e-commerce stores to small sites with a handful of pages, and started LangRelay after years of translating them the hard way.

On this page

1. Why automatic language redirects are tempting
2. What Google says about redirecting by language
3. How does a browser tell a site which language a visitor prefers?
4. Should you redirect based on browser language? Your three choices
5. Rules that keep a redirect safe for visitors and search
6. How to check what your site does today
7. Common questions
8. Should the language suggestion be written in the visitor's language?
9. Does a redirect slow the page down?
10. What about visitors who use a VPN?
11. Is a language selection page on the home page a good idea?

Share

- [Share on LinkedIn (opens in a new tab)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.langrelay.com%2Fblog%2Fbrowser-language-redirect)
- [Share on X (opens in a new tab)](https://x.com/intent/post?url=https%3A%2F%2Fwww.langrelay.com%2Fblog%2Fbrowser-language-redirect&amp;text=Should%20you%20redirect%20based%20on%20browser%20language%3F)

See it on your site

A 30-minute walkthrough on one of your pages.

[Book a demo](https://www.langrelay.com/book-a-demo)

## Keep reading

- Article
  ### [Language switcher best practices for multilingual sites](https://www.langrelay.com/blog/language-switcher-best-practices)
  Where to put a language switcher, dropdown or links, native names, flags, redirects and accessible markup, with the HTML a WordPress site can ship.
- Article
  ### [Self-referencing hreflang and x-default, with examples](https://www.langrelay.com/blog/self-referencing-hreflang-x-default)
  Should a page list itself in its own hreflang set, and where should x-default point? Both answered with markup, Google's rules and five plugins' defaults.
- Article
  ### [A bilingual website: how to set one up and keep both languages in step](https://www.langrelay.com/blog/bilingual-website)
  How to set up a bilingual website: pick the second language, give each page its own URL, add a switcher, and keep both versions matching as the site changes.
- Article
  ### [Subdomain vs subdirectory for a multilingual website](https://www.langrelay.com/blog/subdomain-vs-subdirectory-multilingual-seo)
  Subdirectory, subdomain or country domain for each language? What Google's documentation says about each, the costs it leaves out, and when each one fits.

Book a demo

## See LangRelay on your own site

Book 30 minutes with the team. We translate one of your pages live and walk through review, publishing and multilingual SEO.

[Book a demo](https://www.langrelay.com/book-a-demo)[See pricing](https://www.langrelay.com/pricing)
