How to block a country

You can block traffic from any country you want to prevent accessing your website. This could be if you get a lot of spam or automated hack attempts.

To block a country is easy, go to the Firewall tab and scroll down to the “Block visits from these countries”.

You can enter a search term to filter the list of countries or you can scroll down and choose as many as you wish.

To remove a country from the list, click the little x next to the name.

Each visitor IP is compared to the IP2Location database and if the IP matches any of the countries you the visitor will be blocked. You can also redirect a blocked visitor to another URL.

This site or product includes IP2Location LITE data available from

Was this helpful?

Previous Article

Block or redirect visitors

Next Article

How to blacklist an IP