Need assistance with the using the Newspaper theme 11 and the BuddyPress plugin. The integration works fine when logged in. However, when logged out and logging in it redirects to the wp-admin login page. I’ve tried to solve this issue with every possible solution I could think of. My website is http://www.symposihealth.com. When logging in it redirects me to the wp-login.php. It’s unclear to me what’s causing this redirection or how that connection is designed. If you can, please provide me a solution.
Hello!
By default this is how it is working. What you can do is to use redirects. I have found a few interesting articles that may be helpful:https://wordpress.org/plugins/bp-redirect-to-profile/ ; https://www.isitwp.com/redirect-buddypress-user-login/
Thank you!
Thank you for responding. However, the solution is not quite providing anticipated results. The instructions explain: You need to update bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ ); and change /the-slug/ to the slug of the page you wish to load. What does, update bp_core_redirect( get_option(‘home’), mean? I’m not sure if I should be doing something with that part, and I’m using the latest version of BuddyPress- Version 8.0.0. Thank you, again.
function wps_redirect_bp_login() {
if( is_user_logged_in() && bp_is_register_page() ) {
bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ );
}
}
add_action( ‘template_redirect’, ‘wps_redirect_bp_login’, 1 );
You need to update bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ ); and change /the-slug/ to the slug of the page you wish to load.
Hello!
Please check to see if this seems to be the one you are looking to: https://buddypress.org/support/topic/redirect-on-logout/; Or you can try to insert the code in the child theme function.php file.
Hello!
Please check to see if this seems to be the one you are looking to: https://buddypress.org/support/topic/redirect-on-logout/; Or you can try to insert the code in the child theme function.php file.
Hello!
Please check to see if this seems to be the one you are looking to: https://buddypress.org/support/topic/redirect-on-logout/; Or you can try to insert the code in the child theme function.php file.
Let us know if this works out for you.
Thank you!