Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember url logout link goes to hompage instead of staying on current page

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember url logout link goes to hompage instead of staying on current page

Tagged: eMember, Logout, members, url

  • This topic has 4 replies, 3 voices, and was last updated 9 years ago by Robert.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 9, 2016 at 3:24 am #13483
    Robert
    Participant

    I have read thru a number of posts that talk about a logout link.

    Basically they say you can create a link by appending either “?event=logout” or “?emember_logout=true” to whatever page you want the logout page to be.

    I also know there is an option in eMember to redirect the user to a specific page on logout.

    I just want the user to click a logout link and stay on the same page, but when I am on a page and go the url and add either one of the above options to it, it logs me out but then sends me to the home page (I have the option mentioned above blank).

    Am I missing something?

    FYI, I have the current version of eMember

    May 9, 2016 at 3:40 am #73223
    wzp
    Moderator

    Have you tried this?

    <a href=".?emember_logout=true">logout link</a>

    It should cause the current page to refresh, in the logged out state.

    May 9, 2016 at 4:03 am #73224
    Robert
    Participant

    Just tried that and was still logged out, but sent back to home page.

    May 10, 2016 at 4:53 am #73225
    admin
    Keymaster

    Use the following link to create your custom logout URL. This link will stay on the current page after the logout.

    example.com/some-page/?member_logout=1

    May 10, 2016 at 5:24 am #73226
    Robert
    Participant

    Thanks, that worked!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ