• Hi guys!
    I have a weird error in my WP network. Whenever a user is registered, activates through email and is then asked to login for the first time, when they correctly login, they’re redirected to /wp-admin/edit.php?post_type=pricetable
    This is part of a plugin that’s not available to non-Superadmins.

    Where can I set which admin page is default for these users?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This sounds like a plugin problem. Does it happen if pricetable is turned off?

    Thread Starter Fyod

    (@fyod)

    I added this to my theme’s functions.php and it seems to be fine now, atleast in Superadmin, now I just need to make a dummy sub-site.

    add_filter( 'login_redirect', 'ckc_login_redirect' );
    function ckc_login_redirect() {
        // Change this to the url to Updates page.
        return home_url( '/wp-admin/index.php' );
    }
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Don’t put it in your theme. Put it in a mu-plugin instead. The theme will ONLY work for sites using that theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite User redirection after login’ is closed to new replies.