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

Logout link does not work consistently

Simple Membership Plugin › Forums › Simple Membership Plugin › Logout link does not work consistently

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 11 months ago by nur.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 10, 2015 at 10:29 pm #3898
    dannikt
    Participant

    Regardless of whether I use the logout link that the plugin creates automatically or when I manually created, it does not always work.

    It seems to work fine when I am logged in as a “manager” (which is linked to an “Administrator” role in WP), but does not work when I am logged in as a “client” (which is linked to a “Subscriber” role in WP). When logged in as a “Client,” clicking the logout link returns me to the login screen (as desired), but when I try to login as a different user (without clearing cookies or cache), I am taken to the account information page, where it shows that I’m still logged in as the previous user.

    I installed the “Import WP Users” add-on, thinking maybe that would help link the two accounts so that a logout of SMP would also log the user out of WP completely and that would fix the problem, but it didn’t work.

    Any advice?

    November 11, 2015 at 12:36 am #3899
    nur
    Participant

    Did you install WordPress in a sub directory?

    November 11, 2015 at 2:48 pm #3900
    dannikt
    Participant

    It’s on a subdomain, so yes. (There’s actually a WordPress install on the main domain and another install on the subdomain.)

    November 12, 2015 at 8:20 pm #3935
    dannikt
    Participant

    Can you provide more information? Is installing this on a subdomain not supported?

    November 13, 2015 at 2:22 am #3954
    nur
    Participant

    it should support subdomain. all you need to make sure is, both login and logout url must be in the same domain. because when you log in, a cookie is dropped in the path. so the logout link needs to be in the same path to be able to pick up the cookie and delete it.

    We are happy to look into your site if are willing to.

  • 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