Home Forums Pro Themes Signify Pro After Login Redirect

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #152512
    Kevin Roberson


    After a successful login, I would like to redirect to a welcome page. I have tried several plugins and I have tried adding code via the Snippet plugin to accomplish this. Everything just ignores it and remains on the Login page. I have the user management plugin WP User Manager and I am thinking it is already overriding the redirect filter and that is why I can’t get it to work. I want all non-admin users to go to welcome_page and admins to function as they do now. The code snipped I attempted is:

    * Redirect non-admins to the welcome page after logging into the site.

    $welcome_page = ‘https://www.monnie.family/welcome_page’;

    function monnie_login_redirect($welcome_page, $request, $user) {
    return(is_array($user->roles) && in_array(‘administrator’, $user->roles))
    ? admin_url() : site_url();
    add_filter(‘login_redirect’, ‘monnie_login_redirect’, 10, 3);

    Thanks for any assistance or code solution you can provide.




    I have just signed up on your site for testing purposes

    can you please send us a dashboard login? and the URL of the welcome page


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.