Block or redirect by state, province or city
Overview
Block or redirect shoppers from part of a country instead of the whole country: one or more states or provinces, and optionally a single city. Rules live in Block & Re-director, on the Blacklist tab for a block rule and the Redirect tab for a redirect rule, with Which locations set to Province.
What you'll learn
How to block or redirect a state, province or city?
Step 1: Open Block & Re-director. In the Create a rule card, choose Block, Redirect or Whitelist, then click the Location tile.

Step 2: Check the Rule status card at the top. A new rule is Enable, so it works as soon as you save; click Disable to store it without applying it.

Step 3: Redirect rules only: under Redirect to, pick A Shopify market or Another URL and fill in the destination. + Add a display name opens an optional field for a short name shown instead of the full address. See A complete guide: Block & Redirect rules.

Step 4: Under Which locations, pick Province, then:
- Select country: the country the regions belong to.
- Under Who can visit your store, choose Block these provinces or states or Block all other provinces or states.
- Select state/province: one or more regions. You can select several at once.
- + Narrow down to cities opens an optional city field, so one region can be cut down to a single city.
- Add a private note if you want, then click Save.

How it works?
Choice | What it does | Example (country = Vietnam) |
|---|---|---|
Block these provinces or states | Blocks visitors from the selected regions; the rest of the country is unaffected | Select Hanoi: visitors from Hanoi are blocked, other Vietnamese visitors get in |
Block all other provinces or states | Blocks the whole country, then lets through only the selected regions | Select Hanoi: only visitors from Hanoi get in, everyone else in Vietnam is blocked |
For a redirect rule, the same selection sends matching visitors to the destination in Redirect to instead of the blocking page.

Who can use this feature?
Block all other provinces or states is available on paid plans. Block these provinces or states and the redirect equivalent are available on the Premium plan and above.
FAQs
- Can I block several cities in one rule?
No. City selection is only available when a single state/province is selected, and it takes one city. Create one rule per city, or block the whole region instead.
- I want to allow only one state in my country. Which mode do I use?
Block all other provinces or states with that state selected. Visitors from every other state in that country are blocked; visitors from other countries are not affected by this rule.
- Does this rule also block the rest of the world?
No. A province rule only applies to visitors from the country you selected. To restrict other countries, add a Country rule.
Updated on: 05/11/2026
Thank you!