Redirection on logout

Community Forums Forums General Discussion Redirection on logout

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Kraft 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18080

    jillchongva
    Participant
    Post count: 19

    I’d like to have client sites redirect to their home pages when they logout.  How would I do that in Genesis without buggering things up?

    jill :)


    jill chongva
    web: lusciouspress.com
    web: luscioussimple.com
    em: jill@lusciouspress.com

    #18307

    Kraft
    Participant
    Post count: 87

    You should be able to copy and paste this into the end of your functions.php file:

    That’ll change the logout URL to whatever the site URL is configured to be.


    Brandon Kraft
    Volunteer
    Blog | Twitter
    Genesis eNews Extended Support

    #18312

    jillchongva
    Participant
    Post count: 19

    Thanks! The “go home, you’re drunk” meme just popped into my head when I saw “logout_go_home” :)

    jill


    jill chongva
    web: lusciouspress.com
    web: luscioussimple.com
    em: jill@lusciouspress.com

    #18314

    Kraft
    Participant
    Post count: 87

    :-)

    [I don’t see the link on the forum page, so reposting for future viewers. Code to redirect on logout. ]


    Brandon Kraft
    Volunteer
    Blog | Twitter
    Genesis eNews Extended Support

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

You must be logged in to reply to this topic.