Redirect to a custom page after login based on the user role

  1. Home
  2. Knowledge Base
  3. WordPress Hacks
  4. Redirect to a custom page after login based on the user role

You can redirect user after logging in to custom URL based on the user role in wordpress, like the Dashboard for admins panel and Member Area for Your customers.

This simple code and Helpfull :

You can add this source in function.php in your theme or plugin.

Was this article helpful?

Related Articles

Leave a Reply