WordPress.org

Forums

WP-Members
[resolved] Can't logout after installation of WordPress HTTPS(SSL) plugin (2 posts)

  1. HoneyBB
    Member
    Posted 1 year ago #

    I intstalled WordPress HTTPS(SSL) plugin, and set some pages to SSL pages.

    After this settings, in SSL pages, I can't logout form WP-Members widget's logout link, though I can logout from
    WordPress widget's logout link.(For a test, I put 2 kinds(WP-Members and WordPress) of login&logout widget on a 1 page of sidebar.)

    Login from WP-Members and WordPress widget's each login button and link are possible.

    -----------------------------
    My environment:
    WordPress 3.8.1
    WP-Members 2.8.10
    Wordpress HTTPS(SSL) 3.3.6
    -----------------------------

    Does anyone have any idea the way to logout from WP-Members widget's logout link as same as WordPress widget's logout link?

    https://wordpress.org/plugins/wp-members/

  2. HoneyBB
    Member
    Posted 1 year ago #

    If set SSL pages separately by WordPress HTTPS(SSL) plugin, it seems that each page which has WP-Members' login form is handled as separate login&logout. So I set SSL to whole site except for Admin panel, login&logout came to be handled as one thing.

    After above setting, Logout behavior became not normal. After click Logout link, browser Icon before URI of the page kept wheeling, and I was wondering Logout was not completed. But once moved to another page, logout was completed. To solve this, I added below code to function.php in theme/child folder.

    function redirect_fix(){
    wp_safe_redirect("http://example.com/");
    exit();
    }
    add_action('wp_logout','redirect_fix');

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.