Title: Blocking the registration
Last modified: December 18, 2018

---

# Blocking the registration

 *  Resolved [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/)
 * Hi, first of all I would like to thank you for the free plugin.
 * I have one question, is it possible to block registration only for all non-whitelist
   countries?
 * I managed to find the “Back-end target settings”, but do I have to set up something
   else, but it just does not work ..
 * please help me, and thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocking-the-registration%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11004844)
 * Hi [@100janovic](https://wordpress.org/support/users/100janovic/),
 * Did you try “**Target actions**” at “**Login form**” in “**Back-end target settings**”
   section?
 * ![Back-end target settings](https://i0.wp.com/ps.w.org/ip-geo-block/assets/screenshot-
   4.png?ssl=1)
 * > is it possible to block registration only for all non-whitelist countries?
 * You can turn off all the target actions except “**Register**“.
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11005151)
 * I added a picture that shows target actions on the online document. Please refer
   to [https://www.ipgeoblock.com/codex/back-end-target-settings.html#login-form](https://www.ipgeoblock.com/codex/back-end-target-settings.html#login-form)
 * Thanks for asking!
 *  Thread Starter [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11005995)
 * I set it, and I’m not enabled .. is the plugin compatible with Woocommerce?
 * Do I need to have an option to include this again?
 * Thank you very much for your support
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11007806)
 * Hi [@100janovic](https://wordpress.org/support/users/100janovic/),
 * > is the plugin compatible with Woocommerce?
 * Uh huh! I’ve got what you want.
 * I assume you have a registration page for Woocommerce. In this case, we have 
   to think about 2 blocking target.
 * **1. Block the registration page from being displayed**
    If you have [http://example/registration/](http://example/registration/),
   then the page “/registration” should be blocked. In this plugin, a page can be
   configured at “**Validation target**” in “**Front-end target settings**” section.
 * See the topics “[Buddypress registration page](https://wordpress.org/support/topic/buddypress-registration-page-2/)”
   and “[Access from blocked country(?)](https://wordpress.org/support/topic/access-from-blocked-country/)“.
 * **2. Block the request directly posted to an end point**
    There’s a case that
   the request may be posted directly to an end point without going through the 
   registration page using some tools. Usually, the end point is `wp-login.php` 
   which can be configured in “**Target actions**” in “**Back-end target settings**”
   that I explained in the previous thread.
 * But I don’t know the case of Woocommerce because I have no experience with it.
   If Woocommerce uses another end point to register a new user, additional consideration
   is needed. I’ll check it.
 *  Thread Starter [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11008018)
 * The problem is that my registration is with login on one page. In that case, 
   I can not block that page only. is there any possibility to solve this otherwise?
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11008195)
 * OK. So your registration page is like [http://example.com/wp-signup.php](http://example.com/wp-signup.php),
   right?
 * Then I’m sorry but I have to update this plugin if you turn on only “**Register**”
   at “**Target actions**” of “**Login form**” in “**Back-end target settings**”
   section.
 * And I also have found that this plugin has something bad for registration process
   of woocommerce from [http://example.com/my-account](http://example.com/my-account)(
   is it the default registration page of woocommerce?).
 * Please keep watching this topic until I complete my renovation and verification.
 * Thank you for your patience.
    -  This reply was modified 7 years, 5 months ago by [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/).
    -  This reply was modified 7 years, 5 months ago by [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/).
 *  Thread Starter [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11008216)
 * Yes, this is the default page of the woocommerce for registration and login.
   
   [http://example.com/my-account](http://example.com/my-account)
 * Will you be able to update it soon? thanks for the big one
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11008240)
 * Well, do my best on week end 🙂
 *  Thread Starter [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11008245)
 * I need this for tomorrow ☺, see if there is some way to separate the registration
   from logins into two special pages. and then block it in the way it can be done.
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11009858)
 * Try this one: [https://gist.github.com/tokkonopapa/6a6427c0af2d58a48281987321a05746/archive/e7ca48e73e958b3d5ce03b193802b451484252c1.zip](https://gist.github.com/tokkonopapa/6a6427c0af2d58a48281987321a05746/archive/e7ca48e73e958b3d5ce03b193802b451484252c1.zip)
 * Unzip and upload `class-ip-geo-block.php` into `/wp-content/plugins/ip-geo-block/
   classes/’.
 *  Thread Starter [100janovic](https://wordpress.org/support/users/100janovic/)
 * (@100janovic)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11011202)
 * Hello tokonopapa,
 * I managed to solve my problem.
    Thanks a lot for the support
 *  Plugin Author [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * (@tokkonopapa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11039010)
 * Dear all,
 * In version 3.0.17.1, I fixed the issue that `wp-signup.php` was not blocked when
   only “**Register**” was enabled as “**Target actions**” at “**Login form**” in“**
   Back-end target settings**” section.

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

The topic ‘Blocking the registration’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: [tokkonopapa](https://wordpress.org/support/users/tokkonopapa/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/blocking-the-registration/#post-11039010)
 * Status: resolved