0
votes
0answers
176 views

How to force redirect visitors to login/register page in buddypress

I have redirect script function login_redirect() { global $pagenow; // Check to see if user in not logged in and not on the login page if(!is_user_logged_in() && $pagenow != 'wp-login.php') ...
0
votes
0answers
45 views

How to create access to a wordpress site via registration/login page?

What I want is, whenever a visitor tries to access my wordpress site, either by putting in the url or by clicking on a link from external source, he/she has to go via the registration/login page (if ...
0
votes
0answers
127 views

Buddypress registration page redirection loop errors after adding if(!is_user_logged_in)

I'm running WordPress Multisite install with BuddyPress (WP 3.9, BP 1.9). I'm using the code below to make the main website protected from not-logged-in users, and let them to visit only the ...
0
votes
1answer
19 views

Why I am not able to direct user to my blog section without login?

function wpse_41699_wp(){ if( is_page('Login')||is_page('register')||is_page('Blog')||is_page('blog') ){ return; }else{ if(!is_user_logged_in()){ $url = ...
1
vote
2answers
492 views

Disable domain redirect

Desired behavior: http://www.situationware.com should stay at www.situationware.com, no registration required. Currently wordpress is automatically redirecting to the Amazon hostname ...
1
vote
0answers
1k views

Custom Registration page - prevent redirect to wp-login.php?action=register

I already have a custom login from built with the following code: add_action('login_redirect', 'jwh_redirect_login', 10, 3); function jwh_redirect_login($redirect_to, $url, $user) { $url = ...
1
vote
0answers
590 views

wp-signup.php redirected to register.php

I have worpdress 3.4 multisite subdirectory set-up. (eg: example.com\username) I also have a buddypress installation installed as a secondary blog.(eg: example.com/community) ...
1
vote
1answer
3k views

How to redirect action=register link on the lostpassword page to a different link?

I have a specific wordpress registration page where I have a new user complete their registration form. However, if someone clicks on the "forgot password" link in the login section of my site and ...
3
votes
2answers
2k views

Redirect to custom url when registration fails?

When I want to redirect the user after successful registration, I just use "registration_redirect" filter hook. How about when registration fails, which filter hook should I use? I looked into ...
2
votes
2answers
8k views

How to redirect a sucessful registration to a page template?

Each time I register I end up in the wp-login page (back-end): Is there any way of redirecting the users who register to a page template (front-end)?
1
vote
1answer
801 views

Can I change default registration link (without htaccess)?

I'm using url like «wp-login.php?action=register&role=patient» and «register_form» hook for add extra inputs form which depends on urls like this: ...
1
vote
3answers
889 views

Front end user creation form! How do you keep the user on the same page in event of error?

I've recently tried to add a user registration form to the front end of my site and have used the following form code (based upon http://digwp.com/2010/12/login-register-password-code discovered in an ...