Hi ralapunga,
Hope you’re doing well 🙂
Are you referring to login from login form created by [ms-membership-login] shortcode?
In that case you can add redirect_login attribute with your desired redirect URL, it would look like this:
[ms-membership-login redirect_login="http://example.com"]
Cheers,
Predrag
Hi!
Thanks for the fast reply. But your example redirects to a specific url. I need a solution to be redirected to the same page the user was when logging in. (stay on the same page)
So when i log in from lets say /aboutus the user has to be redirected to aboutus, and when login in from /contact being redirected to /contact 😉 Some scripts use %actualpage% for that, but membership2 doesn’t like that attribute….
Hello @ralapunga,
I am afraid this is not possible out of the box with the Membership 2 plugin. It will require a lot of custom code and it’s out of a scope that we can provide here.
If you nit familiar with PHP, check WP Jobs section for additional help from developers:
http://jobs.wordpress.net/
Kind regards,
Nastia