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] Users going to a non-protected(public) page are being redirected to my homepage

Simple Membership Plugin › Forums › Simple Membership Plugin › Users going to a non-protected(public) page are being redirected to my homepage

Tagged: login, Logout, redirect

  • This topic has 6 replies, 4 voices, and was last updated 8 years, 3 months ago by mbrsolution.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 12, 2018 at 3:33 am #13340
    campdc11
    Participant

    I think this plugin is causing an issue for my first time visitors. When a new visitor tries to access a public page – a page set with “No, Do not protect this content.” in the SMP page settings – they are redirected to my homepage.

    When I look at the network tab in the dev console I can see the membership plugin is checking for login status, but only on the first page of the first visit. This issue disappears when the user clicks on the navigation link to go back to the target page and it works fine. (trying this with incognito tabs is always reproducible).

    Any thoughts on how to solve this?

    Try this page: http://mh.briandreyer.com/donate/ and you’ll be redirected to the homepage.

    February 12, 2018 at 3:42 am #13341
    The Assurer
    Moderator

    Are you using any kind of page caching?

    February 12, 2018 at 3:49 am #13342
    campdc11
    Participant

    I’m not using anything for caching (e.g. Super cache)

    February 12, 2018 at 7:47 am #13343
    Anonymous
    Inactive

    I have entered the aforementioned URL and it works perfectly, any page I visit directs me to the aforementioned page, it does not take me to the homepage.
    You will have to delete the cookies.

    February 13, 2018 at 6:31 pm #13354
    campdc11
    Participant

    Did you try this on an incognito browser tab by chance? Doing that makes it always reproducible for me.

    I’m happy to create a quick video screen demo if it helps.

    February 20, 2018 at 2:19 am #13422
    campdc11
    Participant

    So I’ve been able to track this down to a cookie issue. When the “swpm_session” cookie is present, the link works fine. When this cookie is not present, the site is doing a session check, not finding the cookie, and then redirecting the user to my homepage.

    Has anyone ever seen this issue? I can’t find a setting to fix this and it’s clearly not documented so I’d appreciate some help, otherwise I’ll need to look at migrating off the plugin since this is having a negative effect on donations to my organization.

    February 20, 2018 at 4:45 am #13425
    mbrsolution
    Moderator

    Hi @campdc11, can you check the following troubleshooting steps.

    Thank you

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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