Title: Not blocking countries
Last modified: January 30, 2018

---

# Not blocking countries

 *  Resolved [scruffy1](https://wordpress.org/support/users/scruffy1/)
 * (@scruffy1)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/)
 * Hello
 * been running geo block for a while and been very happy,
 * however recently wordfence is now blocking IPs which geo block should, I have
   set up all the country codes and one I am trying to block is RU, yet visitors
   from RU still get through and so do the bad people too.
 * please advise
 * thanks

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

 *  [11whyohwhy15](https://wordpress.org/support/users/11whyohwhy15/)
 * (@11whyohwhy15)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9920028)
 * Not trying to hijack your thread but I have exactly the same problem. Wordfence
   is blocking through its firewall but surely these countries should have been 
   stopped by IGB first…
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9939405)
 * Hi [@scruffy1](https://wordpress.org/support/users/scruffy1/) and [@11whyohwhy15](https://wordpress.org/support/users/11whyohwhy15/),
 * I’m so sorry I couldn’t get back to you sooner.
 * **[@11whyohwhy15](https://wordpress.org/support/users/11whyohwhy15/) wrote:**
 * > Wordfence is blocking through its firewall but surely these countries should
   > have been stopped by IGB first…
 * Regarding to the execution order of WF and IGB, WF always works prior to IGB 
   even if you select “mu-plugins (ip-geo-block-mu.php)” at “**Validation timing**”
   in “**Validation rule settings**” section.
 * WF configures `.user.ini` to works before WordPress starts. And IGB runs in the
   contexts of WordPress. That’s why WF blocked some requests before IGB would block.
 * **[@scruffy1](https://wordpress.org/support/users/scruffy1/) wrote:**
 * > I have set up all the country codes and one I am trying to block is RU, yet
   > visitors from RU still get through and so do the bad people too.
 * I think this would be cause by “**UA string and qualification**” in “**Front-
   end target settings**“. Please try to add `*#RU` at the top of “**UA string and
   qualification**“. It mainly verifies “DNS reverse lookup” to identify a visitor
   is good bots or not. But it does not always fit your demand.
 * Please refer to the documentation about “[UA string and Qualification](http://www.ipgeoblock.com/codex/ua-string-and-qualification.html)”
   in codex.
 * I hope this answer may solve your issues.
    Thanks.
 * Thanks for your understanding.
 *  [11whyohwhy15](https://wordpress.org/support/users/11whyohwhy15/)
 * (@11whyohwhy15)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9939840)
 * ahhhh… so no need to worry about this anymore…
 * Thanks
 *  Thread Starter [scruffy1](https://wordpress.org/support/users/scruffy1/)
 * (@scruffy1)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9939963)
 * Ok, thanks,
 * Coming after WF appears to answer my question, I will look into the “UA string
   and qualification”
 * Thanks
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9959216)
 * Hi [@scruffy1](https://wordpress.org/support/users/scruffy1/) and [@11whyohwhy15](https://wordpress.org/support/users/11whyohwhy15/),
 * Although I close this topic once, please feel free to ask anything about your
   concerns related to this issue.
 * Thanks.

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

The topic ‘Not blocking countries’ is closed to new replies.

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

 * 5 replies
 * 3 participants
 * Last reply from: [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/not-blocking-countries/#post-9959216)
 * Status: resolved