Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Redirection to last page after login doesn't work

Simple Membership Plugin › Forums › Simple Membership Plugin › Redirection to last page after login doesn't work

  • This topic has 4 replies, 4 voices, and was last updated 5 years, 9 months ago by Susan.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 3, 2020 at 9:32 am #21648
    ophelie59
    Participant

    Hello !
    I use the after login redirection add-on.

    I followed your tutorial
    https://simple-membership-plugin.com/configure-login-redirection-members/

    When a user connects, it follows the url specified in the membership level, no problem.
    But I also enabled the Enable Redirection to the Last Page option.
    But it never works.
    Am I missing something ?

    Best regards
    Ophélie

    December 3, 2020 at 10:41 pm #21660
    mbrsolution
    Moderator

    Hi,

    But I also enabled the Enable Redirection to the Last Page option.

    When enabled, this option takes preference over the after login redirection that you configure in the membership level. So when this condition is true, this redirection will take place (instead of the one configured in the membership level).

    Is the above what is happening in your site?

    Regards

    December 4, 2020 at 8:30 am #21666
    ophelie59
    Participant

    Hello
    Well in fact that’s the problem !
    I have enabled the Enable Redirection to the Last Page option and this option doesn’t take preference over the after login redirection. In fact, even when I don’t put a link in the member level, the last page option doesn’t work, it then redirects to the first page of my site.
    To resume :
    The Redirection to the Last Page option is enabled
    -if I put a link to redirect on the membership level, it always redirects to that link, depending on the membership of the user
    – if I remove the links in the membership levels, it always redirects to the main page
    I can’t make the Redirection to the Last Page option work 🙁
    Best regards
    Ophélie

    December 5, 2020 at 1:07 am #21669
    admin
    Keymaster

    The “redirect to last page” option ONLY works when the “login” link INSIDE a protection message is clicked. Otherwise, it doesn’t know which page to redirect to if the “swpm_redirect_to” parameter is not present in the URL (after you click the login link).

    Please read the text in the blue box in the following page (towards the bottom of the page).
    https://simple-membership-plugin.com/configure-login-redirection-members/

    February 4, 2021 at 8:23 am #22073
    Susan
    Participant

    I have this problem too. I’ve enabled the add on plugin and my login link is inside the shortcodes:

    [swpm_protected custom_msg=’The following content is only available to logged in users. Click to log in</a’]Download page link
    [/swpm_protected]

    but it just redirects to the homepage

    Is there anything I’m doing wrong?

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy