Hi @mstudioil
Have you tried to use [members_login_form] shortcode without redirect parameter. We use default WordPress function wp_login_form, which should redirect user to current page unless you have another plugin that uses its own redirection.
Best
From your docs it wrote that [members_login_form]
This shortcode has no parameters.
https://members-plugin.com/docs/shortcodes/
Sorry for any confusion I made in my last message. The Members plugin uses default login WordPress functionality so we don’t have redirection functionality. To redirect users, you can try to use Peter’s Login Redirect plugin that redirects users to a custom URL after login. You can also adjust it for each role separately.
I hope that helps.
Hey, thanks for the answer, I using redirect plugin, I want that when I using the shortcode and don’t fill the username or the password, the login will stay on the same page where I using it and will not redirect to the default WordPress login page
Did you check if there’s any plugin/theme conflict by deactivating all your plugins temporarily except MemberPress to see if this resolves the problem? If this works, re-activate all plugins one by one to see which one causes that issue. You can also switch the current theme to the default WordPress theme temporarily and see if this helps.
I hope that helps.
I can’t deactivating plugin on live site.
I the sortcode stays on the same page if someone don’t enter the username or password or it redirect to the default WordPress login page? What it the default behavior?