• Hi!

    Is there a solution to stay on the page where the user is when loggin in instead of being taken to a specific url or the account page?

    TIA,

    ralapunga

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    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="https://example.com"]

    Cheers,
    Predrag

    Thread Starter ralapunga

    (@ralapunga)

    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….

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    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:
    https://jobs.wordpress.net/

    Kind regards,
    Nastia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login redirect’ is closed to new replies.