How can we redirect users to the exact same page where they registered or logged in?
Let's say a user requires to register or login first at a specific checkout page how exactly can we redirect this user to the same checkout page after registering or logging in? Now the user gets redirected to the homepage by default.
However, on your website, this functionality seems to be affected by the "MemberMouse" plugin, which redirects users to a certain pre-defined homepage, when they log in.
( ref: hidden link )
To confirm, you can temporarily deactivate the "MemberMouse" plugin and then test the login form again. Once confirmed that this plugin is responsible for the redirection, you can consult its official support team to see how this redirect can be avoided.