my user can not logout!

This topic contains 3 replies, has 2 voices, and was last updated by Avatar Pie Register 2 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10004811
    Avatar
    Chris Yang
    Participant

    Dear all,

    How to create a perfect login / logout pages and title ?

    I can’t found any document to figure out how to setup all correct flow chart.

    The situation is like above:

    1. the title menu only can show login/logout, it can’t recognize user not login (shows login) and user already login( shows logout)

    2. After user login, when user wanna logout, they click the same link (login/logout), it alwyas jump to homepage! nothing can shows!

    so my user never seen the logout page or logout !

    does someone can help me?

    http://www.9sfood.com

    #10004812
    Avatar
    Pie Register
    Participant

    Hello,

    You will need to use a navigation plugin that allows different menu items for logged in or guest users. its out of PR scope to provide navigation enhancement functionality. However, in order to make a logout link you can append the following querystring to any of your wordpress url for example:
    http://yourdomain.com/wordpress
    http://yourdomains.com/wordpress?piereg_logout=true

    Best,

    #10004813
    Avatar
    Chris Yang
    Participant

    Thanks for your reply, when I trying to use
    http://YOURDOMAINS.COM/WORDPRESS?PIEREG_LOGOUT=TRUE

    the page is like refresh and nothing happen. it still on login status

    #10004816
    Avatar
    Pie Register
    Participant

    Hello,

    Please make sure all the url and variable are in small caps. also try to append redirect_to variable with the url you wish your users to redirect on after logout so your complete url will look like the following.
    if you are running WordPress in the root of your domain:
    yourdomain.com/?piereg_logout_url=true&redirect=http%3A%2F%2Fyourdomain.com%2Fthank-you
    if you are running inside a subfolder:
    yourdomain.com/wordpress-folder/?piereg_logout_url=true&redirect=http%3A%2F%2Fyourdomain.com%2Fwordpress-folder%2Fthank-you

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.