Title: Blocking some countries does not work
Last modified: April 27, 2024

---

# Blocking some countries does not work

 *  Resolved [yarmobile](https://wordpress.org/support/users/yarmobile/)
 * (@yarmobile)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/blocking-some-countries-does-not-work/)
 * Hello, I am trying to block:
    - Bangladesh – entered the country code **BG **into “Blacklist of country code
      or pattern” after comma,
    - Pakistan – entered the country code **PK **into “Blacklist of country code
      or pattern”
 * but these do not work. I tested them with a VPN set to those countries and my
   resulting IP was indeed from those countries, and I still managed to visit my
   website.
 * I can provide some proof like a video.
    -  This topic was modified 2 years, 1 month ago by [yarmobile](https://wordpress.org/support/users/yarmobile/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [yarmobile](https://wordpress.org/support/users/yarmobile/)
 * (@yarmobile)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/blocking-some-countries-does-not-work/#post-17717423)
 * (deleted this post)
    -  This reply was modified 2 years, 1 month ago by [yarmobile](https://wordpress.org/support/users/yarmobile/).
 *  Thread Starter [yarmobile](https://wordpress.org/support/users/yarmobile/)
 * (@yarmobile)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/blocking-some-countries-does-not-work/#post-17717485)
 * Let me add more info. I am using “IP2Location” and “IP Location Block” providers.
   The Pakistani IP address was reported:
    - IP address : 175.110.108.9
    - IP2Location : PK
    - IP Location Block : PK
 * **But I can still access the website from that IP address.**
 * The Bangladesh IP address was reported:
    - IP address : 36.50.238.4
    - IP2Location : SG
    - IP Location Block : n/a
 * even though I added “SG” to my blocking list,** I can still access the website
   from this IP address.**
 *  Plugin Author [Darko G.](https://wordpress.org/support/users/darkog/)
 * (@darkog)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/blocking-some-countries-does-not-work/#post-18033888)
 * This issue was fixed with database updates.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blocking some countries does not work’ is closed to new replies.

 * ![](https://ps.w.org/ip-location-block/assets/icon-256x256.png?rev=2662027)
 * [IP Location Block](https://wordpress.org/plugins/ip-location-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip-location-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip-location-block/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-location-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-location-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-location-block/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Darko G.](https://wordpress.org/support/users/darkog/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/blocking-some-countries-does-not-work/#post-18033888)
 * Status: resolved