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] custom message addon canceling redirection addon

Simple Membership Plugin › Forums › Simple Membership Plugin › custom message addon canceling redirection addon

Tagged: custom message, redirection

  • This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by mbrsolution.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 4, 2020 at 6:09 am #20843
    SharpeOnes
    Participant

    Hello,

    I have both the redirection addon and the custom message addon. After reading the documentations and the forum, I am still a little confused. Please bare with me as I am not an expert and new to wordpress.

    I understand that the custom message overrides the redirection but there is this message in the documents:
    “When this feature is enabled, if you click on the “Login” link of a protected post or page, it will send you to the login page with “swpm_redirect_to” query parameter in the URL (meaning this feature is active).” I don’t quite understand what this means, but I am under the impression that I can add (/?swpm_redirect_to=) after my domain address in one of the custom message fields and it will operate like the redirection addon. I tried that and it didn’t work.

    Currently I have the following in the field:

    <div class=”swpm-custom-restricted-post-msg”>This is my custom message. Please LOGIN. Not a member custom message JOIN US.</div>

    Could you help me add the redirect parameter to the URL?

    September 4, 2020 at 9:37 pm #20848
    mbrsolution
    Moderator

    Hi,

    In regards to the custom message addon, please read the following documentation.

    https://simple-membership-plugin.com/simple-membership-custom-messages-addon/

    Note: The login redirect addon LOOKS for the special login link that the core plugin creates. It then replaces that login link with an extra parameter. If you use the custom messages addon to override the standard protection message of the plugin then the login addon can’t add the extra parameter. This is one of those features where you need to pick one (You can’t get both). Also, if you click on the Login Widget on the sidebar or the Login in your menu it will not redirect the member to the page or post they are visiting.

    Let me know if the above helps you.

    Thank you

    September 5, 2020 at 7:32 am #20855
    SharpeOnes
    Participant

    That is what I understood from reading the documents and previous forums. Also in the previous forum, someone suggested a solution. I am asking if:

    1. That solution has been considered/implementated (since 2 years have past) or
    2. Provide the extra parameter so that I can include it to the link.

    Thank you.

    September 5, 2020 at 9:59 pm #20856
    mbrsolution
    Moderator

    Hi, you can implement the following solution.

    https://simple-membership-plugin.com/forums/topic/custom-message-for-restricted-post-not-logged-in-and-redirection-addin/#post-16856

    Nothing else has changed.

    Kind regards

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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 © 2025 | Simple Membership Plugin | Privacy Policy