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

Enable Redirection to the Last Page (where they clicked the login link)

Simple Membership Plugin › Forums › Simple Membership Plugin › Enable Redirection to the Last Page (where they clicked the login link)

Tagged: Custom messages, login redirect, plugins

  • This topic has 16 replies, 4 voices, and was last updated 9 years, 9 months ago by fletj.
Viewing 2 posts - 16 through 17 (of 17 total)
← 1 2
  • Author
    Posts
  • December 20, 2016 at 7:47 am #9262
    admin
    Keymaster

    This redirection ONLY triggers if you click on the “Login” link from the protected content message that is shown inside a protected post/page. When you you do this correctly, the login page will have the “swpm_redirect_to” query parameter in the URL like the following example:

    
    your-site.com/login-page/?swpm_redirect_to=<url-to-redirect-to>
    

    If that query parameter is not present in the URL then that means one of two things:

    1) You didn’t click on on the login link shown INSIDE the protected post/page.

    OR

    2) You don’t have the “Enable Redirect to Last Page” option enabled in the settings menu of the login redirection addon.

    December 20, 2016 at 8:50 am #9264
    fletj
    Participant

    I thought that would be the case. I said at the very start that I have the profile showing in a sidebar, as my members like to see their details (especially the expiry date). When not logged in this offers the login boxes, and if they are filled in there then the redirection doesn’t work.

    And yes, clicking on the login link within the protected page does work. So I will consider this matter closed.

    Thanks for your input into this.

    Cheers,
    JohnF

  • Author
    Posts
Viewing 2 posts - 16 through 17 (of 17 total)
← 1 2
  • 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