What is a geo-redirect? Definition, SEO risks and alternatives

A geo-redirect is an automatic redirect that sends a visitor to a country or language version of a website based on the location of their IP address. It usually runs on the server or CDN as a 302 or 307 response, before the page loads. Google Search Central advises against IP-based content adaptation, because Googlebot mostly crawls from US IP addresses and sends no Accept-Language header, so redirected versions can stay invisible in search.

Updated: 17 October 20263 min read
Infographic comparing a forced geo-redirect based on IP with a country banner and hreflang for international SEO
Source: Google Search Central; Regulation (EU) 2018/302

How does a geo-redirect work?

A geo-redirect works by looking up the visitor’s IP address in a geolocation database and returning a redirect to the matching market URL. A user in Prague who opens example.com receives a 302 to example.com/cz/, while a user in Berlin lands on example.com/de/. Some setups also read the browser’s Accept-Language header, which is a language signal rather than a location signal.

A typical server response looks like this:

  • Request: GET / from a Czech IP address
  • Response: HTTP/1.1 302 Found, Location: https://example.com/cz/, Vary: Accept-Language

The logic often lives in the CDN (Cloudflare, Akamai, Fastly) because the edge server already knows the visitor’s country.

Why geo-redirects are risky for SEO

Geo-redirects are risky because Googlebot sees only the version served to its own IP address. Google’s documentation on locale-adaptive pages says the crawler’s default IPs appear to be in the US and that it sends requests without an Accept-Language header. John Mueller summed it up in Google’s Ask Googlebot series in October 2022: Googlebot usually crawls and indexes a site from a single location, so only one location-based version gets indexed. The 3 main consequences are below.

Hidden market versions

If every US request is forced to /en-us/, Googlebot may never reach /de/ or /pl/, so those pages drop out of the index or never enter it.

Broken hreflang clusters

A hreflang annotation that points to a URL which redirects elsewhere is invalid, because the target is not a canonical, indexable page.

Wrong canonicals

Temporary 302 and 307 redirects are not a canonical signal for Google, but a redirected homepage confuses which URL represents the brand. Google’s guidance on x-default exists exactly for auto-redirecting and selector homepages.

What Google recommends instead

Google recommends separate URLs per locale, explicit hreflang annotations and visible links between versions. Its multi-regional guide says not to use IP analysis to adapt content and not to redirect based on a guess about the user’s language. In practice this gives 4 safe patterns:

  • Serve every URL with 200 to every visitor and crawler, whatever the IP.
  • Show a dismissible banner (“Looks like you are in Germany, go to the German shop?”) instead of redirecting.
  • Redirect only the root URL with a 302 and mark it as x-default, never deep pages.
  • Remember the user’s manual choice in a cookie and respect it on the next visit.

Geo-redirects and EU law

In the European Union, geo-redirects are also a legal issue under the Geo-blocking Regulation (EU) 2018/302, applicable since 3 December 2018. Article 3 forbids redirecting a customer to a country version tailored to their nationality or residence without their explicit consent, and even after consent the originally requested version must stay easily accessible. For e-commerce shops selling across the EU this means a banner or a country selector, not a forced redirect.

Geo-redirect vs geotargeting

A geo-redirect decides for the user, while geotargeting tells search engines which market a URL serves and lets Google send the right users there:

AspectGeo-redirectGeotargeting (hreflang, ccTLD)
Who decidesServer, by IPSearch engine and user
CrawlabilityOften one version onlyAll versions
EU complianceNeeds explicit consentNo issue
Best forRoot URL with x-defaultEvery market page

In my projects for Polish brands entering Germany, the Czech Republic and Romania, removing forced IP redirects is often the quickest win: the German and Czech versions start appearing in their local Google within weeks, because Googlebot can finally crawl them. The same applies to AI search, since AI Overviews and Bing Copilot can only cite pages their crawlers can reach.

Pro tip: Test your site with a VPN from 3 countries and with the URL Inspection tool in Search Console. If the live test of /de/ shows a redirect or English content, Googlebot is being geo-redirected and that market is invisible.

Planning a multi-country rollout? See my international SEO consultancy or the guide to SEO in Germany.

Frequently asked questions about Geo-redirect

Are geo-redirects bad for SEO?

Forced geo-redirects are bad for SEO when they stop Googlebot from reaching other market versions. Googlebot mostly crawls from US IPs, so it may only index the version served to the US.

Should a geo-redirect be 301 or 302?

Use a 302 or 307 when you redirect by location, because the target depends on the visitor and is not a permanent move. A 301 tells Google that the redirect target should become canonical.

Are IP-based redirects legal in the EU?

IP-based redirects to another country version need the customer's explicit consent under Regulation (EU) 2018/302. The originally requested version must also remain easily accessible.

What is the best alternative to a geo-redirect?

The best alternative is a country suggestion banner combined with hreflang and visible language links. Users keep control and Googlebot can crawl every version.

Related terms

International SEO · AI SEO (GEO)

Grow in every market, and get cited by AI

A single IP redirect can hide your German or Czech shop from Google and from AI search for months. I check how Googlebot and AI crawlers actually see each market and replace forced redirects with hreflang, x-default and country banners.

I help SaaS and e-commerce brands win organic traffic across Europe and the US, and get their brand recommended in ChatGPT, Gemini, Perplexity and Google AI Overviews. Every project starts with a free audit of your site, your markets and your visibility in AI answers.

Write to Adrian

Have a question about this term or your SEO?

Send a short message about your website, the markets you sell in and what you want to achieve. You get a reply from me, not from a sales team.

  • Free preliminary SEO and AI visibility audit
  • Strategy for international and multilingual markets
  • Reply within one business day
Book a free call
Adrian Dąbrowiecki

Write to Adrian

Adrian Dąbrowiecki · Marketer Coffee

Tell me about your site and your goals. I usually reply within one business day.