- This topic has 18 replies, 4 contibutors, and was last updated 9 years, 9 months ago by .
-
Question
Answers
- The question ‘Rename WP-Login Plugin redirection’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Rename WP-Login Plugin redirection
Tagged: login
When I use the Rename WP-Login plugin and login, the page refreshes without redirecting to the dashboard. I have actually logged in, but there’s no way to tell unless I manually change the URL.
When I switch the theme, login works fine.
I had the same login page refresh problem when I tried the suggestion on this request to change the login and forgot password URLs:
https://wordpress.org/plugins/rename-wp-login/
Thanks,
Paul.
Any ideas on this one? Pretty sure it’s the BB action of redirecting to the same URL that’s causing this.
@style960 I’m not quite sure why simply remove_filter does not work but I have had success with the plugin by adding this to my child theme functions.php file:
function childtheme_remove_filters(){
remove_filter( 'login_redirect', 'buddyboss_redirect_previous_page', 10 , 3 );
}
add_action( 'after_setup_theme', 'childtheme_remove_filters' );
@tjchester Thanks that works for every user role but not subscriber. Any ideas? Tbh it’s about time WordPress had a front-end login and password reset functionality. Know any other ‘CMS’ out there that doesn’t? Would be great to see that added to Buddyboss.
@style960 that is odd it works for everyone except subscribers, I’m not sure what would be causing that. Did this plugin not work for front end everything: http://wordpress.org/plugins/tabbed-login/
@tjchester yeah that plugin has the functionality but it’s still difficult to create a consistent experience across desktop and mobile given it’s a sidebar widget. That would mean it would appear at the bottom of each page on mobile. I’ve really struggled with this when not using Woocommerce.
@style960 I am unable to replicate your results. It works for subscribers on my dev site. Could it possibly be a plugin conflict? I wouldn’t think so, but couldn’t imagine anything else. Could you try setting the role for the user to something else and back to subscriber…perhaps there is some kind of WP error with the role?
@tjchester I’ve installed the plugin on a secondary site and added the code above to functions. I can get the login issue to stop, and although it directs subscribers to the dashboard as opposed to the front-end, it does work. Unfortunately the plugin that needs to be disabled for that to happen is Buddypress. As with the first site I’ve tried the Rename plugin on, the login process works fine on renamed URLs when I switch to a different theme, any theme in fact. Change back to Buddyboss and the issue returns. So in effect I can’t use the normal login and password reset processes on this particular site if I’m using Buddyboss. Something in the theme is stopping this from working so I’ll be forced to use a front-end plugin instead.
@tjchester I did try elevating the user account on both sites, logging in/out, changing it back to subscriber, same problem remains. If I disable the Rename plugin and use the instructions below to change the URL, the same issue is there with a subscriber account.
http://wordpress.org/support/topic/how-to-change-from-wp-loginphp-to-login
Clean Login looks quite slick actually – https://wordpress.org/plugins/clean-login/
Let me know if we still need to work on the rename wplogin plugin.
I will do yeah, thanks.
We’ve used Lockdown wp admin plugin with great success. Plugin is updated regularly as well.
@webcoreinc Thanks for the suggestion, I’ll have a look.