Registration disabled on s2Member Multisite after Wordpress 5.0 update

As the title says, I’ve just had about 13 sub-sites have new user registration disabled after Wordpress updated automatically. When you go to register you receive the message, “Registration is disabled.”

I went to Network Settings > Settings > Registration Settings, and it shows that registration is disabled, but it also doesn’t let me turn it back on (can’t click the options to turn it back on.)

This message is there, “If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site.”

I opened wp-config.php from the parent site and searched for “NOBLOGREDIRECT” but it’s not found in there…

Help!?

I’m not familiar with mutlsite, but googled it and found this: https://codex.wordpress.org/Function_Reference/maybe_redirect_404

If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site:

define( 'NOBLOGREDIRECT', '%siteurl%' );

or

define( 'NOBLOGREDIRECT', 'http://www.my-ms.com' );

See also: https://codex.wordpress.org/Editing_wp-config.php#Redirect_Nonexistent_Blogs

I hope that helps. :slight_smile:

I had my developer implement this code - and it did work for about a day - but then it reverted right back again.

I found another article here: https://www.s2member.com/forums/topic/mu-lev-0-registration-disabled-workaround/index.html

I did these steps, and it seemed to work, however, now every time someone tries to register on a sub-domain, it pushes them to the primary domain. I.E., if I click “register” on “sub-site1.examplesite.com” it actually tries to register them on “examplesite.com” instead.

Would love to figure this out.

Hi @joeldjones Joel, I’m wondering if your host has some settings in the back end that is somehow disabling this function. The fact that it worked and then didn’t work seems to indicate there’s something else being changed. Or magic gremlins are at work :slight_smile:

1 Like

Yeah, it is strange, but like I said, I’m not familiar with multisite. It doesn’t sound like an s2Member thing, though. If you disable plugins, does the behavior go away?

Seems more like just a WordPress multisite thing. Perhaps a community that knows about multisite networks may be able to help you better with this one.