Custom login/register pages?
-
Hi,
I have a multisite install with a public website as the main site, and a members-only section that uses BuddyPress as a subsite on a subdomian.
I had the site set up to be private unless a user was logged in, with only custom login and register pages available to the public. I have since found that users that are registered to the main site could view the private site, despite that user not being assigned to the private site, hence me using this plugin.
My issue now is that I cannot make the login and register pages public again. I’ve used this code to change the location of the register page:
add_filter( 'wp_signup_location', 'register_page' ); function register_page( $location ) { return '/register/'; }
The link on the default wp-login page that says “Register first as a network user” is linking to the right page, but it just gets redirected back to the default login.
The only pages I do not want to be private are /login/ and /register/.
Any help is appreciated, thanks!
- The topic ‘Custom login/register pages?’ is closed to new replies.