Do you have courses on your site and use the LearnPress plugin? We often offer courses on our websites and want to redirect our users and students to a custom URL after they log in and log out of our WordPress site based on the coursed they are enrolled in.
This article will show you how to redirect users after they login based on their enrolled LearnPress course on your WordPress website.
Enabling LearnPress LMS Integration
Go to LoginWP>>Redirections>>Integrations and scroll down to LearnPress and enable it.
Creating a Redirection Rule
Go to LoginWP>>Redirections and click on “Add New”.
Under Rule Condition, select the course under the “Enrolled Course” section.
Enter the login and logout URL to redirect students/users enrolled to the selected course.
Click on Save Rule, and that’s it
If you want to use any placeholders or merge tags in the login/logout field, please visit Login Redirect Placeholders & Use Cases.