On this page
What this issue is
Geo blocking means refusing a request based on the country its IP address is linked to. It is set in a few places: your CDN or WAF (web application firewall, such as Cloudflare), your host, a security plugin, or the server itself.
It becomes a problem when the rule is too wide. Common causes are a spam clean-up that blocked a whole continent, an old rule nobody remembers, or an IP database that places a real visitor in the wrong country. Mobile networks, VPN users and travellers are often misplaced.
Why it costs you leads or sales
Blocked visitors never see your page. If you run ads in that country, you still pay for the clicks, but the visitor lands on an error, a challenge page or a blank screen. Nothing is recorded as a lead, and your analytics may show nothing at all, because the page never loaded.
- Ad clickVisitor in a target country clicks your ad
- Firewall checkCountry rule matches and returns 403
- Landing pageNever loads
- Form or checkoutNever reached
- Lead or saleNot recorded
The visitor is stopped at the edge, so every later step is lost.
Example: a business targeting three countries blocks one by mistake. Numbers are illustrative.
How to check if your site has it
List the countries you target
Use your ad campaign location settings and your customer list. These are the countries that must always load.
Search your firewall rulesCustom code
In Cloudflare, open Security > WAF > Custom rules and look for expressions using ip.geoip.country or Country. Also check Security > WAF > Tools (IP access rules) for country entries.
Check your host and pluginsWordPress
Look in your host panel for a country or GeoIP block, and in security plugins such as Wordfence (Firewall > Blocking > Countries).
Test from the target country
Load the site from a real device on a local mobile network, or ask a colleague or customer there. A VPN helps but is not exact, since some firewalls treat VPN ranges differently.
Read the firewall event log
In Cloudflare, open Security > Events and filter by action Block and by country. A high count for a target market confirms the problem.
How to fix it
Edit the Cloudflare rule
Go to Security > WAF > Custom rules, open the rule and remove the target country from the list, or change the action from Block to Managed Challenge for lower risk.
Check server config
In nginx, look for geoip or map directives that return 403. In Apache, check .htaccess and mod_geoip rules, and remove the target countries.
Open your security plugin
In Wordfence, go to Firewall > Blocking and edit or delete the country block. Other plugins have similar settings under their firewall or country options.
Check your host
Some managed hosts have a geo block in their panel. Remove target countries there too.
Review market and shipping settings
Under Settings > Markets, make sure each target country is in an active market. Shopify has no built-in country block for visitors, so a block usually comes from an app or a proxy placed in front of the store.
Check apps
Review installed apps that block countries or fraud-filter visitors and disable their country rules.
Check the proxy or CDN in front
Wix does not offer a visitor country block in settings. If your domain goes through Cloudflare or another proxy, fix the rule there.
Before
- Block all traffic from a list of countries
- Target market included by mistake
- Visitors see 403 error
After
- Target countries removed from the rule
- Spam handled by a challenge on the form only
- Visitors reach the page and form
How to confirm it's fixed
- The rule no longer lists any target country
- The firewall log shows no new blocks for target countries
- The page loads from a local device in each target country
- A test form submission from that country arrives in your inbox and CRM
- Analytics sessions from that country return to normal
How to prevent it happening again
Keep a short written list of target countries and compare it with firewall rules whenever you change security settings. Prefer rules scoped to a URL, such as the login page, over site-wide blocks. Add a note to each rule saying why it exists and who added it. Review it every quarter, and check again after changing host, CDN or security plugin.
How FunnelGuard handles this
FunnelGuard detects this only partly. It runs your journeys from two regions only, the EU and the US. If a geo block hits visitors from those regions, a failed step is re-checked from the second region and you get one alert with a screenshot and a likely cause.
What it does not do: it does not check from every country. A block on, say, Brazil, India or Australia will not be seen if the EU and US checks pass. To cover the rest by hand, test from each target country using a local device or a colleague, review your firewall events by country, and compare ad clicks with analytics sessions per market.
Questions people ask
Why is my website not loading in some countries?
The most common cause is a geo block in your firewall, CDN, host or security plugin that denies those countries. Other causes include DNS or routing problems and a CDN outage in one region. Check your firewall event log filtered by country first.
How do I check if my site is blocked in a specific country?
Load it from a real device or network in that country, or ask someone there. A VPN can help, but results may differ. Then check your firewall logs, for example Cloudflare Security > Events, for blocks from that country.
How do I remove a country block in Cloudflare?
Open Security > WAF > Custom rules and look for rules using the country field, then edit the list or delete the rule. Also check IP access rules under Security > WAF > Tools. Save, then retest from the affected country.
Can a geo block block real customers by mistake?
Yes. IP location databases are not perfect, and travellers, mobile users and VPN users are often placed in the wrong country. A rule that looks safe can still lock out genuine buyers.
Does a country block affect my Google Ads or Meta results?
It can. You pay for clicks from blocked visitors, but they never reach your page, so no conversions or tracking hits are recorded. Results from that country look unusually poor.
Is blocking countries a good way to stop spam?
It is a blunt tool. A challenge, rate limit or spam filter on the form is usually safer, because it keeps the page open to real buyers in every market.
Can FunnelGuard tell me if a country is blocked?
Only partly. It checks from two regions, the EU and the US, so it catches blocks that affect them but not blocks on other countries. Test those by hand.
Related issues
- OPS-100Cloudflare/WAF blocks real visitors (challenge loops)Fix guide
- OPS-101Bot Fight Mode blocking checkout or form postsFix guide
- OPS-104WAF blocking ad click URLs with long gclid/UTM queryFix guide
- OPS-105CAPTCHA on every page view (Under Attack mode left on)Fix guide
- OPS-122Allow-list missing for monitoring IPs (false blocks)Fix guide
- OPS-113CDN origin errors (520-526 Cloudflare errors)Fix guide