-
Author
-
March 14, 2017 at 20:34 #155645GusParticipant
Hi. I am using Accespress Social login. it was working fine but all of a sudden users who sign in with Kleo Sign ( i have a custom login page with accespress buttons and Kleo login on it.) The accespress buttons take me to home page but Kleo Login takes me to Wp-admin login no matter wat setting i put in redirect field in KleoSettings/miscellaneous/Popup redirect. Also changed /Home page redirect.
Thanks
March 15, 2017 at 17:57 #155731LauraModeratorHello, have you tried using https://wordpress.org/plugins/peters-login-redirect/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
March 27, 2017 at 13:25 #156788LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
March 28, 2017 at 16:45 #156955RaduModeratorHi,
Do you have added any redirect rule in wp-content/themes/kleo-child/functions.php ?
If yes remove it,
If not you to set your destination after loginCOPY CODEfunction sq7_rdu_redirect( $redirect_to, $request, $user ) { $redirect_to = '/my-route-after-redirect/'; return $redirect_to; } add_filter('login_redirect', 'sq7_rdu_redirect', 11, 3)
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 29, 2017 at 02:14 #156997GusParticipantHi Radu. I am trying to redirect with Kleo options on Theme options/ Miscelaneous.
I have checked functions.php and commented out anything having to do with redirection. I have attached the funtions PhP file. All redirection have been greyed out. Tried your code but got downed website. Maybe missing something. I have deactivated Accespress Plugin to troubleshoot and still Kleo Login redirects to backend login.
Thanks
Attachments:
You must be logged in to view attached files.March 29, 2017 at 17:43 #157113RaduModeratorHi,
I’ve missed ; from the end
Copy again the code form here : https://pastebin.com/raw/PLh95nd7
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 29, 2017 at 21:09 #157138GusParticipantI pasted this:
function sq7_rdu_redirect( $redirect_to, $request, $user ) {
$redirect_to = ‘https://www.xn--moa-8ma.com/’;
return $redirect_to;
}
add_filter(‘login_redirect’, ‘sq7_rdu_redirect’, 11, 3);Did i get the link pasted correctly? If yes. Then it is not working still.
Thanks
March 30, 2017 at 19:16 #157242RaduModeratorHi,
Try again with this one
function sq7_rdu_redirect( $redirect_to, $request, $user ) {
$redirect_to = ‘https://www.xn--moa-8ma.com/’;
return $redirect_to;
}
add_filter(‘login_redirect’, ‘sq7_rdu_redirect’);If this still not works install a plugin like: https://ro.wordpress.org/plugins/peters-login-redirect/ to handle redirects
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 10, 2017 at 17:44 #158105GusParticipantI have found bug on main theme Kleo/functions.php ‘loginUrl’ => site_url( ‘wp-login.php’, ‘login_post’ ), when i changed the loginUrl to my page then it works. But when i update my theme then my changed will lost . Can loginUrl is maintain by child theme or please suggest me any setting about that.
April 13, 2017 at 21:14 #158466RaduModeratorYou can paste this function to child theme functions https://pastebin.com/raw/1Wi280m4
And inside it to make your desired changes in your case the login url.Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 18, 2017 at 20:00 #158851RaduModeratorYou’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.