Block or redirect by IP address
Overview
Block or redirect visitors by their IP address, the number that identifies their internet connection. You can list single addresses, the first part that addresses start with, or a whole block of addresses, and either block the visitor or redirect them elsewhere. Rules live in Block & Re-director, on the Blacklist tab for a block rule and the Redirect tab for a redirect rule.
What you'll learn
How to block or redirect an IP address?
Step 1: Open Block & Re-director. In the Create a rule card, choose Block, Redirect or Whitelist, then click the IP address 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 IP addresses, pick IP Address, IP Start With or IP Range, fill in the fields (table below) and click Save.

How it works?
A visitor matches when their IP address fits any entry in the rule. Both IP address formats, IPv4 and IPv6, work.
Match by | What to enter | Example | Matches |
|---|---|---|---|
IP Address | One or more full addresses, typed or from a CSV |
| Exactly that address |
IP Start With | The first part of an address, typed or from a CSV |
| Every address beginning with that text |
IP Range set to CIDR | A whole block of addresses written like the example, typed or from a CSV |
| Every address in that block |
IP Range set to Range | Start IP and End IP |
| Every address between the two, inclusive |
Type them or upload a CSV
Under How do you want to add them:
- Type them: enter the addresses in the field, separated by commas. Blockify counts what it recognises and lists each one below as a tag you can remove.
- Upload a CSV: pick a file instead. Download the sample file from the link in the form to see the format.
Rules added by Blockify
Rules added by Auto-block visitors placing fraud orders are IP address rules too; their Source reads Auto-block with the order number, and the Source filter set to Auto-block lists them all. See A complete guide: Block & Redirect rules.
Who can use this feature?
IP address and IP start with rules are available on all plans (Free plan: 2 active rules). IP Range, with CIDR or Range, is available on the Enterprise plan and above.
FAQs
- Can I block my own IP address by mistake?
Yes. If you lock yourself out, use the Admin's access URL in Settings > General settings. See How can I access my store if I have blocked my own country?.
- How many addresses can one rule hold?
A CSV import holds up to 500 rows. For larger lists, use IP start with or IP Range to cover many addresses in one entry.
- How do I know how many visitors a rule blocked?
Open Analytics > Visitors, filter by Block reason and set a date range. There is no counter on the rule itself.
- Does a whitelist rule override an IP block?
Yes. Whitelist rules are checked first, so a whitelisted IP gets in even if it also matches a block rule.
Updated on: 05/11/2026
Thank you!