Skip to content

State or region matching


Looking for current setup instructions?

The Codex is preserved as a legacy and developer reference. The current interface is documented in the new guides.

Open current guide

Regional rules use the administrative area returned by the provider. Depending on the country, that unit may be a state, province, prefecture, territory, or another region.

State or region rules in the current IP Location Block interface

How regional rules work

  • Create the country rule first.
  • Use the administrative level offered for that country.
  • Verify the exact area name on the Search tab before adding it.
  • If another provider does not support regional precision, the country rule remains available as fallback.

The IP Location Block provider is prioritized automatically for regional rules. Read the current state or region guide.

All Legacy Codex entries