Free SEO audit for new clients — claim yours
Home/Blog/Technical SEO/Automatic Country Redirects: Why IP-Based Redire…
Technical SEO

Automatic Country Redirects: Why IP-Based Redirects Hurt SEO

Automatic Country Redirects: Why IP-Based Redirects Hurt SEO
Table of contents
  1. How IP and browser-language redirects decide where visitors go
  2. Why Googlebot keeps landing on the US version
    1. An outdated detail worth correcting
    2. What this looks like in Search Console
  3. What Google recommends instead of forced redirects
  4. Comparing the alternatives: redirects, banners, selectors and adaptive content
  5. Designing a country suggestion banner that does not cost conversions or rankings
  6. Combining hreflang, x-default and user choice
  7. Testing what crawlers from different locations see
  8. Other search engines and markets
  9. Questions international teams ask about geo redirects
    1. Is any automatic redirect acceptable for SEO?
    2. Can I show Googlebot all versions while redirecting users?
    3. Does Googlebot send an Accept-Language header?
    4. Will hreflang fix my geo-redirect problem on its own?
    5. Is it fine to change currency by IP on the same URL?
  10. Replacing geo redirects on your international site
  11. Further reading on geo redirects SEO
  12. Sources for this geo redirect guide

Automatic country redirects feel like good customer service. A visitor from Germany lands on your .com, your server sees a German IP address, and it sends them to the German store with euro prices. No menus, no extra clicks. Marketing teams love it, and many ecommerce platforms and CDNs make it a one-click setting.

The problem is that Googlebot is also a visitor, and it does not behave like your customers. Most of its crawling comes from addresses that look American, and it does not tell your server what language it prefers. A site that forces every visitor to "their" version can end up showing Google only one version, typically the US one, while the UK, Australian or Indian pages it built are rarely or never crawled.

This guide explains how IP and language redirects work, exactly why they hide content from Google, what Google recommends instead, and how to keep the convenience for users without the indexing risk. It finishes with a test plan you can run against your own site.

How IP and browser-language redirects decide where visitors go

There are two common signals sites use to guess where a visitor belongs, and they are often combined.

SignalHow it worksWhat it gets wrong for usersWhat it gets wrong for Googlebot
IP geolocationServer or CDN looks up the visitor's IP in a geo database and picks a countryTravellers, expats, VPN users and corporate networks get the wrong countryMost crawling appears to come from the US
Accept-Language headerBrowser sends preferred languages; server picks a matching language versionBilingual users and people on borrowed devices get the wrong languageGooglebot sends no Accept-Language header at all
Cookie from a previous choiceRemembers the version a visitor pickedGenerally reliableGooglebot does not keep cookies between requests in a way you can rely on

The redirect itself can happen in several places: at the CDN edge, in a server rule, in the application, or in JavaScript after the page loads. The type matters too. A 302 tells search engines the move is temporary; a 301 tells them it is permanent; a JavaScript or meta refresh redirect may or may not be followed. Our guides to 301 versus 302 redirects and meta refresh and JavaScript redirects cover the mechanics. For geo redirects the type is secondary; the real issue is that the destination depends on who is asking.

Why Googlebot keeps landing on the US version

Google explains the problem plainly in its documentation on locale-adaptive pages. Googlebot's default crawling addresses appear to be in the United States, and:

“In addition, the crawler sends HTTP requests without setting Accept-Language in the request header.”

— Google Search Central, How Google crawls locale-adaptive pages

Put those two facts next to a forced geo redirect and the outcome is predictable. Googlebot requests example.com/de/, the server sees a US address, and redirects it to example.com/us/. Googlebot can only index what it receives. The German page is never fetched, or is fetched only occasionally when Google happens to crawl from elsewhere.

Google does crawl from other countries:

“Googlebot crawls with IP addresses based outside the USA, in addition to the US-based IP addresses.”

— Google Search Central, How Google crawls locale-adaptive pages

But Google does not promise that this geo-distributed crawling covers every country you serve or every URL on your site. It is a safety net, not a strategy. Google's own documentation says it may not crawl, index or rank all content for every locale on locale-adaptive sites.

An outdated detail worth correcting

Older articles, including a 2015 piece on the Semrush blog, described Google crawling with varied Accept-Language headers. Google's current documentation states the opposite: Googlebot sends no Accept-Language header. If your logic falls back to a default language when the header is missing, Googlebot always gets that default.

What this looks like in Search Console

Symptoms of geo-redirect damage usually show up as:

  • Non-US pages reported as "Page with redirect" in the Page indexing report.
  • URL Inspection showing that the Google-selected canonical for a local page is the US equivalent.
  • US pages ranking in other countries' results with the wrong currency and shipping information.
  • Hreflang annotations ignored because the alternate URLs redirect.

What Google recommends instead of forced redirects

Google's guidance on multilingual sites is unusually direct:

“Avoid automatically redirecting users from one language version of a site to a different language version of a site.”

— Google Search Central, Managing multi-regional and multilingual sites

The same page adds: "don't redirect based on what you think the user's language may be." The locale-adaptive documentation recommends separate URLs per locale, annotated with hreflang. In practice, Google's recommended model has three parts:

  1. Every locale has its own stable URL (for example /en-gb/, /de-de/, or separate country domains) that returns the same content to every visitor, including Googlebot.
  2. Hreflang annotations tell Google which URL serves which language and region, so it can show the right one in each country's results.
  3. Visitors choose, helped by a suggestion banner or country selector, and the choice can be remembered.

If you must restrict content by country (for licensing or legal reasons), Google's rule is consistency: treat Googlebot like any visitor from the country it appears to come from. If US visitors are blocked, a US-located Googlebot is blocked too.

Comparing the alternatives: redirects, banners, selectors and adaptive content

ApproachUser experienceIndexing riskVerdict
Forced IP redirect on every pageConvenient for most, frustrating for travellers and VPN usersHigh: Googlebot mostly sees one versionAvoid
Forced redirect on the homepage only, with x-defaultConvenient entry pointModerate: deep pages crawlable, homepage locales still hiddenAcceptable if every locale URL is reachable by links
Same URL, content adapts by IP (locale-adaptive)SeamlessHigh: Google may only index one variantAvoid for indexable content
Suggestion banner ("Looks like you're in Germany. Go to the German store?")One click, user keeps controlLow, if the banner does not block contentRecommended
Country/language selector in header or footerAlways availableLow; also provides crawlable linksRecommended alongside a banner
Remembered choice (cookie) redirectReturns people to their chosen storeLow: Googlebot has no stored choiceGood complement
Only adapting minor elements (shipping notice, currency estimate) by IPHelpfulLow if main content is identicalFine

The pattern most international retailers end up with: no forced redirects on product or category pages, a dismissible suggestion banner shown when the visitor's location does not match the page, a selector in the header, and a cookie that remembers explicit choices.

Designing a country suggestion banner that does not cost conversions or rankings

A banner replaces the automatic decision with a suggestion. Done well, it keeps nearly all the convenience of a redirect. Done badly, it becomes an interstitial that covers the page.

  • Place it at the top as a strip, not a modal. A full-screen popup blocking content is the kind of pattern our guide to intrusive interstitials warns against.
  • Write it in the suggested language. "Diese Seite gibt es auch auf Deutsch" is more effective for a German speaker than an English prompt.
  • Link to the equivalent page, not the homepage of the other store. If the product does not exist there, say so.
  • Offer "Stay here" as clearly as "Switch". Remember either choice in a cookie.
  • Do not render it server-side into indexable content in a way that changes the main text. Inject it client-side or keep it out of the main content block.
  • Show the selector in the footer or header too, as plain HTML links. These links double as crawl paths between locales.

Translation and adaptation quality matters as much as routing; our guide to content localisation covers that side.

Combining hreflang, x-default and user choice

Hreflang is what replaces the redirect for search engines. Instead of the server choosing a version, you tell Google every version that exists, and Google chooses which to show in each country's results. Three rules from Google's localized versions documentation matter most here:

  • Each version lists itself and every other version.
  • Annotations must be reciprocal: "If two pages don't both point to each other, the tags will be ignored."
  • x-default is "used when no other language/region matches the user's browser setting". Google specifically mentions it for language/country selector pages and auto-redirecting home pages.

That last point is the one legitimate home for automatic redirection. A root URL such as example.com/ can act as a router that sends people to a locale, declared as x-default, while every locale URL behind it is stable and crawlable. The rule is that the router is the only page that redirects.

Hreflang targets must return a 200 status to Googlebot. A hreflang annotation pointing at a URL that geo-redirects Googlebot elsewhere is broken, even if it validates. Our hreflang guide covers syntax and common errors, and the wider strategy is in our international SEO guide.

Worked example (hypothetical): a skincare retailer sells in the US, UK and Australia from /us/, /uk/ and /au/. Every product page has an IP redirect. In Search Console, 4,100 UK and AU product URLs show as "Page with redirect", and UK searchers see US prices. The team removes redirects from all product and category pages, keeps a router on the root URL marked x-default, adds a suggestion banner and a footer selector, and fixes hreflang so every target returns 200. The point of the change is that Google can now fetch each regional page directly; how quickly those pages are indexed and start ranking locally depends on recrawl frequency, so the team tracks it weekly in the Page indexing report.

Testing what crawlers from different locations see

You cannot judge this from your own browser, because you are one visitor in one country with a language set. Use a structured test.

  1. Request each locale URL with no Accept-Language header from a US location (a US server or VPN with curl -I). Every locale URL should return 200, not a 30x.
  2. Repeat from two or three other countries you serve. Responses should be identical in status and main content.
  3. Use the URL Inspection tool's live test on a non-US page. Check that the fetched page is the page you asked for, and look at the rendered HTML for the right language and currency. Our URL Inspection guide explains what each field means.
  4. Check your server or CDN logs for Googlebot requests to locale URLs. Verify they are genuine using reverse DNS (hostnames ending in googlebot.com, google.com or googleusercontent.com) or Google's published IP range files; see our guide to log file analysis.
  5. Look at the Crawl Stats report in Search Console. A high share of redirect responses (30x) in "By response" is a warning sign.
  6. Audit CDN and edge rules. Geo redirects are often configured in a CDN dashboard by someone outside the SEO team. Our guide to edge SEO covers how to manage changes at that layer.

Record results in a simple grid so you can see patterns at a glance:

Request/us/ page/uk/ page/de/ pageWhat a pass looks like
US IP, no Accept-Language200200200Every locale returns itself
UK IP, no Accept-Language200200200Same as above
German IP, Accept-Language: de200 + banner200 + banner200Banner suggests /de/, no redirect
URL Inspection live testFetched as requestedFetched as requestedFetched as requestedNo "redirect" status; correct language rendered
Root URL /302 to a locale (router)Only this URL redirects; declared x-default

Things that should be true after testing:

  • Every locale URL returns 200 to every visitor, regardless of IP or headers.
  • The main content of a URL does not change by visitor location.
  • Hreflang targets all return 200 and link back.
  • Only the declared x-default router (if any) redirects.
  • Robots rules are the same across locales, as Google's locale-adaptive documentation asks.

Redirect loops between locales can also create crawl waste; if you see Googlebot bouncing between versions, our guide to spider traps covers how to spot loops in log data.

Other search engines and markets

Google is not the only crawler affected. Bing, Yandex, Baidu, Naver and AI crawlers each have their own crawling locations and behaviours, and few publish as much detail as Google. A setup that avoids forced redirects and serves stable URLs is the safest default for all of them. If you are expanding into markets where Google is not dominant, see our guide to search engines beyond Google, and for the commercial side of selling abroad, our guide to cross-border ecommerce.

Questions international teams ask about geo redirects

Is any automatic redirect acceptable for SEO?

A single router page, such as the root URL, that sends visitors to a locale and is declared as x-default is a recognised pattern. Every locale URL behind it should be stable and return 200 to all visitors, including Googlebot.

Can I show Googlebot all versions while redirecting users?

Treating Googlebot differently from users with the same location is cloaking. Google's guidance is to treat Googlebot like any visitor from the country it appears to come from.

Does Googlebot send an Accept-Language header?

No. Google's current documentation says Googlebot sends requests without an Accept-Language header, so language-based redirects will always send it to your default language.

Will hreflang fix my geo-redirect problem on its own?

No. Hreflang only works if Google can fetch each alternate URL. If those URLs redirect Googlebot elsewhere, the annotations point at pages it cannot see.

Is it fine to change currency by IP on the same URL?

Adapting small elements such as a shipping notice or currency estimate is low risk. Changing the main content, product availability or language by IP on the same URL makes it likely Google indexes only one variant.

Replacing geo redirects on your international site

Start by listing every place a redirect decision is made: CDN rules, server config, app middleware and JavaScript. Test five URLs per locale from a US location with no language header. If any return a redirect, plan the switch to stable locale URLs with a suggestion banner, a selector and complete hreflang, and keep a single x-default router at most.

If you want an international technical audit, our SEO team can test crawl behaviour across locations, and our ecommerce SEO service covers multi-country stores. Get a quote for an international SEO review.

Further reading on geo redirects SEO

Sources for this geo redirect guide

  1. How Google crawls locale-adaptive pages – Google Search Central
  2. Managing multi-regional and multilingual sites – Google Search Central
  3. Tell Google about localized versions of your page (hreflang) – Google Search Central
  4. Verifying Googlebot and other Google crawlers – Google Search Central
  5. Crawl Stats report – Search Console Help
  6. Did You Configure Your Site for the International Googlebot? – Semrush Blog (2015)
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote