• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Redirection on logout

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Redirection on logout

This topic is: not resolved

Tagged: logout redirection, logout url

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by Kraft.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 4, 2013 at 5:26 pm #18080
    jillchongva
    Member

    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
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

    February 5, 2013 at 2:34 pm #18307
    Kraft
    Member

    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

    February 5, 2013 at 2:51 pm #18312
    jillchongva
    Member

    Thanks! The "go home, you're drunk" meme just popped into my head when I saw "logout_go_home" 🙂

    jill


    jill chongva
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

    February 5, 2013 at 2:54 pm #18314
    Kraft
    Member

    🙂

    [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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble