Does blocking countries hurt your SEO?
2026-08-02 · 6 min read
It is the first question every merchant asks, the answer is usually given badly, and the failure mode is worth understanding because it is silent.
The short answer
Blocking a country does not hurt your rankings by itself. It hurts them if your blocking rule also turns away the crawler that indexes you, and whether that happens comes down to a single implementation detail most listings never mention.
Where the crawler actually comes from
Googlebot crawls predominantly from United States IP addresses, and Bingbot behaves similarly. So if you block, say, everywhere except your home market in Europe, you have not written a rule about shoppers. You have written a rule that includes the crawler.
Google does also crawl from other locales to see geo-targeted content, so "just allow the US" is not a complete answer either. The reliable approach is not geographic at all.
Two ways an app can recognise a crawler, and only one of them works
By user agent. The visitor's browser announces itself as
Googlebot/2.1 and the app believes it. This is trivial to fake. Any scraper
that wants through simply claims to be Googlebot, and an app relying on the user agent
alone hands its allow list to whoever asks for it. It also fails the other way: it will
let a fake bot in while your rules stay pointed at real shoppers.
By verified IP. Google and Bing both publish the IP ranges their crawlers use, as machine-readable files they update. An app can fetch those ranges and check whether the connecting address is genuinely inside one. A scraper can claim any user agent it likes and it still will not be inside Google's published range.
When you evaluate any app in this category, that is the question to ask, and the answer should be specific. "We whitelist search engines" is not an answer. "We verify against the ranges Google publishes" is.
The silent failure, and it is worth naming
Verification by published range has a dependency: those ranges have to actually be present. If the sync that fetches them has never run, or has been failing quietly, then the check has nothing to compare against, and a careless implementation answers "not a verified crawler" for every visitor, including the real Googlebot.
Nothing about that looks broken from the admin. Your rules are on, your dashboard shows traffic being blocked, and the number that is quietly dropping is your index coverage. Doorman states this condition plainly on its Support screen rather than letting you discover it in Search Console six weeks later, and we mention it here because an app that does not tell you is not necessarily an app where it cannot happen.
What to check in Search Console after you turn a rule on
- Crawl stats, under Settings. A cliff in requests per day starting the week you switched a rule on is the signal. Look at it a few days later, not a few hours.
- Page indexing, specifically anything landing in "Crawled - currently not indexed" or a rise in fetch errors.
- URL Inspection on a product page, using "Test live URL". If Google fetches your block page instead of your product, you have found it in one click.
The safer sequence
Do not switch a country rule from off to enforcing. Put it in simulation first, let it watch a week of your real traffic, and read what it would have turned away. Two things usually show up in that list that nobody predicted: a crawler, and a group of real customers from a country the merchant had forgotten they sold to.
Then enforce, and check Crawl stats a few days later. The whole exercise costs a week and removes the only version of this that actually damages a store.
One thing blocking a country does not do
It does not remove that country's traffic from your store's own analytics. Shopify counts a pageview before any app runs, so a blocked visitor is still a session in Shopify's reports. If cleaner numbers were the reason you were considering this, that is the wrong reason, and any app promising otherwise is promising something it does not control.
Doorman does this
Country, IP and VPN rules that you can watch on your real traffic before a single visitor is turned away. Free plan, no card.
Install free