How to Block Visitors

Overview

The Block Visitors tool allows you to control who can access your website. You can block visitors by country or by IP address.

This can help reduce unwanted traffic and improve website security.

[Screenshot: Block Visitors page overview]

Block by Country

You can allow or block visitors based on their country.

The system uses location data to identify where visitors are connecting from.

Screenshot2026-07-28180616.png

Allow All Except

This option allows visitors from all countries except the countries you select.

Example:

  • Allow visitors from most countries.
  • Block traffic from specific countries.

Block All Except

This option blocks visitors from all countries except the countries you select.

Example:

  • Only allow visitors from the United States and Canada.
  • Block access from all other countries.

Select Countries

Use the map or country list to choose the countries you want to allow or block.

Your selected countries will appear in the Allowed Countries or Blocked Countries list.

Block by IP Address

If you want to block a specific visitor, you can block their IP address.

Supported formats include:

  • IPv4 Address
  • IPv6 Address
  • CIDR Range
Screenshot2026-07-28180626.png

Add an IP Address Block

To block an IP address:

  1. Enter the IP address or CIDR range.
  2. Click Add or Save.
  3. The address will be added to the blocked list.

Examples

Single IP Address:

192.168.0.10

IPv6 Address:

2001:db8::1

CIDR Range:

127.0.0.0/24

[Screenshot: Example blocked IP addresses]

Blocked IP Addresses

All blocked addresses will appear in the Blocked IP Addresses section.

From here, you can:

  • View blocked addresses
  • Remove existing blocks
  • Manage access to your website

When Should I Use This Feature?

You may want to block visitors when:

  • You are receiving unwanted traffic.
  • You notice suspicious activity.
  • You only want visitors from certain countries.
  • You need to prevent access from a specific IP address.