WordPress.org

Ready to get started?Download WordPress

Forums

Log in/log out redirect (5 posts)

  1. makta112
    Member
    Posted 1 year ago #

    Hello

    I'm trying to do so users get redirected to the home page of my site instead of the WordPress login screen when loging in or out.

    I've tried Googling around but nothing really helped me. WP Codex didn't help me either: http://codex.wordpress.org/Function_Reference/wp_logout_url

    I tried with each of the codes from the above link. I couldn't get any of them to work?

    Help, please.

  2. kjodle
    Member
    Posted 1 year ago #

    Where were you adding those codes?

  3. makta112
    Member
    Posted 1 year ago #

    I wanted them to appear in the header so I placed them in header.php

  4. kjodle
    Member
    Posted 1 year ago #

    Link to your site?

    If running on localhost, which theme are you using?

  5. makta112
    Member
    Posted 1 year ago #

    Link to site

    I'm using Twenty Eleven child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic