Redirect LifterLMS Students After Login Based on Enrolled Course
Do you have courses on your site and use the LifterLMS plugin? We often offer courses on our websites and want to redirect our students to a custom URL after they log in and log out of our WordPress site based on their enrolled courses.
This article will show you how to redirect WordPress users after they login based on their enrolled LifterLMS course.
Enabling LifterLMS Integration
Go to LoginWP>>Redirections>>Integrations, scroll down to LifterLMS 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.
See also: How to Redirect Users After Login to Previous/Referrer Page.