WordPress.org

Ready to get started?Download WordPress

Forums

Login-Logout
[resolved] Not redirecting to home page after login (5 posts)

  1. BruceRawles
    Member
    Posted 1 year ago #

    Great plugin, thanks! :-)

    We still have one issue and not sure if the problem is being caused by the "Login Logout" (2.4) plugin and/or something to do with WordPress (3.5.1) or WooCommerce (2.0.4) or WooStore (1.7.2).

    On this site:
    http://lzr7store.com/
    we have the logout redirect working fine (going to the admin login page
    http://lzr7store.com/wp-admin
    as desired. But when we put in any URL on the site (including the home page where we'd like it to go) it always goes to the "My Account" page
    https://lzr7store.com/my-account/
    Could it be trying to go to a secure (https) page instead of a non-secure (http) page regardless of what we put in the URL for the login redirect?
    Any suggestions? Thanks in advance! :-)

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

  2. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Login-Logout plugin adds to login and logout links in the widget redirect_to param.
    So the links look like this: http://site.com/wp-login.php?redirect_to=http://site.com/other_page/

    Login-Logout plugin does not change the behavior of other links on site.

  3. BruceRawles
    Member
    Posted 1 year ago #

    Thanks for the example/suggestion! This worked:
    https://lzr7store.com/wp-login.php?redirect_to=https://lzr7store.com
    for the field:
    Redirect to this page after logout:

    MUCH appreciated! :-)

  4. NancyBoltonRawles
    Member
    Posted 1 year ago #

    This solution only works for the admin. When I add a new user/customer and they login it still goes to the my-account page rather than the home page.
    Any suggestion?

  5. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    @NancyBoltonRawles: This redirect could be made by some other plugin.
    Check out all your plugin and try to find the plugin which could be responsible for this redirect.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic