• Resolved cripcrip

    (@cripcrip)


    Thanks for the plugin. I would like to know if there is a way to redirect to a specific url after the profile based on the user’s role. Two different roles for two different redirects after login. Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Hi, thanks for using Force Login!

    Force Login is a simple lightweight plugin that only requires visitors to log in. What happens after the user logs in, is not strictly controlled by this plugin.

    With that being said, check out the login_redirect filter for changing the login redirect URL. There is an example for exactly what you want under the User Contributed Notes section.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect after login based on role’ is closed to new replies.