Is it possible to limit/restrict custom registration page access?

Hi! So I have a bit of a “special” use case, I use “WP Ultimo” to manage a “hosting service” for my clients, all having their own subsites, for creating their pages etc.

Thing is, I bill them through a 3rd party site (Affiliate networks), and they’ll get a special plan link to their email (Through Zapier) with my multisite – subsite sign up page, and get a free domain when signing up here on my site which I’m paying for and I want to make sure the sign up link (that they get on email) cannot be given just to anybody and accessed by everyone out there, getting sites and free domains from me. Once purchasing my product, customers get tagged on InfusionSoft (My CRM) and I have their data.

WP Ultimo made it quite inconvenient and therefore I need SOME way to restrict this page and hide the content, and show it ONLY to the users that purchased (based on email, or on INFS tag, etc).

I was thinking I could get a membership plugin and use that, but they AREN’T members of my WP site yet (since that content is the very process of registering the user & site), so I’m kind of lost.

If anybody has any advice here, support staff or members, I’d appreciate it a lot. (If it’s beyond WPMUDEV support, sorry)

The plan registration links through admin-ajax:
https://saspanel.com/wp-admin/admin-ajax.php?skip_plan=1&plan_id=131&plan_freq=12&action=wu_process_plan_select

Which as you see if you follow above link, then redirects (given the attributes) to:
https://saspanel.com/wp-signup.php?cs=5e9a09822c4e54.17138261&step=template

(It’s in testing mode still)

Appreciate any feedback!

  • Patrick Freitas
    • FLS

    Hi IlyaG

    Hope you are doing well.

    I was thinking I could get a membership plugin and use that, but they AREN’T members of my WP site yet (since that content is the very process of registering the user & site), so I’m kind of lost.

    This is indeed a challenge.

    You can set a password to hide the content and send the password for user only buy it. (based on email, or on INFS tag, etc).

    WordPress has a native option to set password for the page.

    You can learn more on:
    https://www.seedprod.com/password-protect-page-wordpress/

    The bad part of this is you would need to set a static password, in case user share that password can access the page.

    I tried to find a plugin that would send a random password to the e-mail but couldn’t find any solution.

    Another option is pre-registering the user on WordPress as a subscriber, in this case you would be able to handle the page protection using a membership plugin.

    You can also check if you can trigger the registration using Zapier as you are already using the service.

    Let us know if you find a different way or if need any further help on this,
    Best Regards
    Patrick Freitas

    • IlyaG
      • Site Builder, Child of Zeus

      Patrick Freitas , thanks for the reply.

      Question: If the user is registered on my main site as a subscriber, can he register a new account with the same email, to be an admin of a subsite (only)? Or the moment he’s registered on the main site, he’ll have to just log in, in order to register on the subsite?

      Thanks for clarifying :slight_smile:

  • IlyaG
    • Site Builder, Child of Zeus

    And as a follow up to the above, if I pre-register them on the WP site as subscriber (I can even auto-login them from an email link), which page should I actually embed the membership plugin php in given the above link sequence example? would I need to do it just to “wp-signup.php”?

  • IlyaG
    • Site Builder, Child of Zeus

    I have now tried, and it seems that once a user is already a WP subscriber of the main site (I can add a member automatically via Zapier or InfusionSoft no problem) it doesn’t help me, since then they can’t register a site through WP Ultimo registration process, therefore restricting the content doesn’t help :slight_frown:

    A static password won’t help either unfortunately since then it can be given away with the link, unless I change it a couple of times a day :slight_smile:

    I’m really lost in what to do with this. I might disabled the whole domain registration on sign up process all together.
    Ilya

  • Patrick Freitas
    • FLS

    Hi IlyaG

    Thank you for the update.

    I checked, and I can see if the member is registered as a subscriber on the main site, I was able to manually register as Admin for a subsite.

    In case the wp-ultimo isn’t allowing this behaviour, I suggest contacting the plugin support and see if they have any possible filter or hook to modify this behaviour.

    Let us know if you need any further help on this.
    Best Regards
    Patrick Freitas