WordPress.org

Ready to get started?Download WordPress

Forums

Login-Logout
[resolved] Redirects to Dashboard (3 posts)

  1. lazykins
    Member
    Posted 1 year ago #

    I'm using WP 3.5

    The plug functions well except for one thing. I'd like it to direct users to the home page, NOT the dashboard, after logging in.

    I tried entering the home page URL in the redirect field but I still get taken to the dashboard.

    Any suggestions?

    http://wordpress.org/extend/plugins/login-logout/

  2. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Redirect works if user clicked the link in the widget zone. If user visited wp-login.php page manually then redirect will not work.

    Link in the widget zone will looks like this:
    http://site.com/wp-login.php?redirect_to=http%3A%2F%2Fsite.com

    And anywhere user will click this link, he will return in this case to homepage, the 'redirect_to' param.

    If redirect_page will not be set in the widget options, user will be returned to page, where he clicked the 'login' or 'logout' link after successful login or logout action.

  3. lazykins
    Member
    Posted 1 year ago #

    I tried your suggestion but users still got taken to their dashboards instead of back to the home page.

    But I am now using your plugin together with Peter's Login Redirect and it's perfect.

    I chose your widget because of the simplicity. So thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic