Change Login url redirection  

  RSS

Lorenz
New Member
Joined:6 months  ago
Posts: 4
28/04/2017 1:50 pm  

Hi, great plugin! 

I need to know if it's possible to change the login button url, because I need to redirect the new user not to the standard Wp login, but to another page because I'm using  Membership Pro Ultimate ( https://codecanyon.net/item/ultimate-membership-pro-wordpress-plugin/12159253) and I need to register all user with this system.

Thank's

 


ReplyQuote
Tom
 Tom
Support Team Admin
Joined:2 years  ago
Posts: 2006
28/04/2017 2:42 pm  

You should put a small code in theme functions.php file. Please read this support topic and change the /login slug to whatever uses the plugin:

https://wordpress.org/support/topic/change-link-for-login-link-text/

wpDiscuz Documentation


ReplyQuote
Lorenz
New Member
Joined:6 months  ago
Posts: 4
28/04/2017 2:45 pm  

Ok Thank's, but with this modify, also che administrator access (classic wp-admin) login change? I need to change only for the login or registration made by wpDiscuz.. and after registration (or login) return to the same post comment 


ReplyQuote
Tom
 Tom
Support Team Admin
Joined:2 years  ago
Posts: 2006
28/04/2017 7:44 pm  

This only changes login URL on front-end, it doesn't change wp-admin

wpDiscuz Documentation


ReplyQuote
Lorenz
New Member
Joined:6 months  ago
Posts: 4
02/05/2017 8:02 pm  
Posted by: Tom

This only changes login URL on front-end, it doesn't change wp-admin

Sorry but I not able to make it work, I need to redirect the user to my custom login form page in mystie.com/login

I've inserted in my function.php file in Child Theme this code..but don't work! 

add_filter( 'login_url', 'my_login_linkchanger');
function my_login_linkchanger( $link ) {
/*whatever you need to do with the link*/
  return home_url( '/login');
}


ReplyQuote
Tom
 Tom
Support Team Admin
Joined:2 years  ago
Posts: 2006
02/05/2017 11:04 pm  

Please send admin login details to support[at]gvectors.com email address we'll login and check it within 1-2 days.

wpDiscuz Documentation


ReplyQuote
Lorenz
New Member
Joined:6 months  ago
Posts: 4
07/06/2017 6:03 pm  

Ok,

I've sent to you my access.


ReplyQuote
  
Working

Please Login or Register