- This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
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
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
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.
Just tried that and was still logged out, but sent back to home page.
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
Thanks, that worked!