• Resolved Beats247

    (@beats247)


    Hi there,
    I’ve been using your plugin for a few days now and it’s really working great, so thank you for that! I have one question though. Is it possible to get two different redirects for users logging into their account based on their user role? I would like to get normal subscribers redirected to the customer dashboard and shop vendors to their vendor-dashboard. For now, I have only one redirect to the customer-dashboard which is working fine, vendors though do also get redirected there and not to the vendor-dashboard url. Thanks in advance!

    That’s the code I am using right now:
    [wppb-login redirect_url="/customer-dashboard" register_url="/registration" lostpassword_url="/recover-your-password"]

    Kind regards
    Valentine

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

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @beats247,

    This can be done through the Custom Redirects module available in Pro, if you have questions about that open a ticket on our website.

    There’s also the wppb_after_login_redirect_url hook available which enables you to do the same thing through custom code.

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Redirect after Login based on user role’ is closed to new replies.