• Kamlesh

    (@kamleshpawar2006)


    hello,

    i want the logout to redirect to home page of my site, how can i do that?
    what i did is
    <a href="<?php echo wp_logout_url( 'http://www.mysite.com' ); ?>">

    but its taking me to login page. the link is
    http://www.mysite.com/login/?loggedout=true

  • The topic ‘logout redirect’ is closed to new replies.