or maybe someone will help me what to do in another matter. I have a login form on the home page added with a short code. In case of incorrect login details I am redirected to /wp-login.php
How to prevent this redirect and stay on the home page?
Thank you for the answer, but that’s not what I meant. I mean that when the user provides incorrect login details in the form, he will be redirected to the main page. I am currently using the WordPress Login Form plugin, which does not show a login error and instead transfers to /wp-login.php. I would like to prevent this.
Sorry I misinterpreted the initial question, so you have 2 questions
1. Upon logging in you’d like to redirect the user to his profile activity page.
2. How to disable the wp-login for non-admins or something like that so that regular users never see wp’s login screen.
2. https://wordpress.stackexchange.com/questions/62889/disable-or-redirect-wp-login-php would this be a good start to a solution
1.https://buddypress.org/support/topic/login-redirect-to-activity-personal-page/ ?
I thank you for your support. I’m sorry I didn’t understand either.
Your link https://wordpress.stackexchange.com/questions/62889/disable-or-redirect-wp-login-php
It looks interesting. This is what I was looking for and I hope it works.
Regarding the BuddyPress Login Redirect to Profile plugin, unfortunately it doesn’t work with the “Login Widget With Shortcode” plugin working