Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Change Login url redirection

7 Posts
2 Users
0 Reactions
6,474 Views
(@lorenz)
New Member
Joined: 8 years ago
Posts: 4
Topic starter  

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

 


   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4233
 

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/


   
ReplyQuote
(@lorenz)
New Member
Joined: 8 years ago
Posts: 4
Topic starter  

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
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4233
 

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


   
ReplyQuote
(@lorenz)
New Member
Joined: 8 years ago
Posts: 4
Topic starter  
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
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4233
 

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


   
ReplyQuote
(@lorenz)
New Member
Joined: 8 years ago
Posts: 4
Topic starter  

Ok,

I've sent to you my access.


   
ReplyQuote
Share:
Scroll to top