Support » Plugin: Logged-in-only » Redirect URL

  • Resolved viriato_sueco



    Suddenly and after months of working with no issues, your plugin just started to redirect users (non-admins) into the WP standard user profile page instead of starting page. How do I define a URL where I always want the user gets redirected into after login?

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Drivingralle



    The plugin didn’t change in a while. Therefore I guess some change on your site was made that lead to the “new behavior”.
    Have you updated any other plugins or WP core in right before the behavior changed?


    Yes, I did, I updated theme and some plugins, I have to. I was forced to change plugin, very unfortunate… :/

    Plugin Author Drivingralle


    The plugin does not modify where WP redirects to after the login.

    I guess that any of the updated theme or plugins overwrites the auth_redirect function or modifies the login redirect target via the filter login_redirect.
    Please check for that.

    This snippet should redirect every user to the homepage after the login:
    function login_redirect( $redirect_to, $request, $user ){
    return home_url();
    add_filter( ‘login_redirect’, ‘login_redirect’, 100, 3 );

    Plugin Author Drivingralle


    @viriato_sueco Could you solve your problem?

    Yes, I changed plugin… :/

    Plugin Author Drivingralle


    All right.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirect URL’ is closed to new replies.