56 pointsSerious WPMU DEV-sterI'm new here
transparencia
Member
—
23rd March 2011
Hello!
I know that when a user clicks the register link on any blog he is redirected to the main website to register. I would like to disallow this and hide all the register links. So that for registering in the network the user would have to to go to the main website.
Still, I would like to allow the normal login for the administrators and such.
I know that when a user clicks the register link on any blog he is redirected to the main website to register. I would like to disallow this and hide all the register links. So that for registering in the network the user would have to to go to the main website.
Still, I would like to allow the normal login for the administrators and such.
Assuming I've understood you correctly, the only way I think you could hide all the registration links and buttons throughout your site would be to hide them in the themes themselves, in other words, by editing all the theme files you're using.
Is that what you're asking though? How to hide those links sitewide?
To stop all registrations, you could always just disable registration on your site. Everyone who's already registered could still login. Or if you want folks to only register through the main site that is the default function.
To remove links to registration - you'd have to edit the theme and possibly provide a custom wp-login.php for each theme.
Does that help? I'm not sure I completely get what your needs are, so feel free to clarify further and I'll see if I can provide clearer instructions.
You will have to remove the register links from your themes manually. Along with this you need to add a redirect entry in your .htaccess file in the main folder wherein you redirect any wp-register.php request to the main register link page.
Responses (4)
WPMU DEV Fanatic — 24th March 2011 #
Hello transparencia,
Assuming I've understood you correctly, the only way I think you could hide all the registration links and buttons throughout your site would be to hide them in the themes themselves, in other words, by editing all the theme files you're using.
Is that what you're asking though? How to hide those links sitewide?
Cheers,
David
Sales & Support Lead — 24th March 2011 #
Hiya transparencia,
To stop all registrations, you could always just disable registration on your site. Everyone who's already registered could still login. Or if you want folks to only register through the main site that is the default function.
To remove links to registration - you'd have to edit the theme and possibly provide a custom wp-login.php for each theme.
Does that help? I'm not sure I completely get what your needs are, so feel free to clarify further and I'll see if I can provide clearer instructions.
Thanks!
Member — 24th March 2011 #
Hi transparencia,
You will have to remove the register links from your themes manually. Along with this you need to add a redirect entry in your .htaccess file in the main folder wherein you redirect any wp-register.php request to the main register link page.
Member — 24th March 2011 #
Thanks so much for helping guys!
I think I wasn't clear enough on the first post. But either way I managed to do this using a custom plugin based on the hook login_form_register.
Thanks!
Become a member