LearnDash: Send Visitors to Login From Lessons
Redirects logged-out visitors who open a lesson, topic or quiz to the login screen, then brings them back to that page after they log in.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Redirects logged-out visitors who open a lesson, topic or quiz to the login screen, then brings them back to that page after they log in.
Gives editors access to the Redirection plugin's screens so they can add and fix redirects themselves, without making them administrators.
Sends students to a page you choose, such as a survey or next-steps page, the next time they load a page after completing a LifterLMS course.
Sends students who log in through wp-login.php to the LifterLMS student dashboard instead of the WordPress admin profile.
Redirects logged-out visitors who open a lesson or quiz to the login screen, then back to that lesson once they log in.
Records the addresses visitors request that do not exist, with hit counts, last seen time and referring page, and lists them under Tools > 404 Log so you can fix or redirect them.
Writes each redirect WordPress makes to the error log, including the target, status code and the file that triggered it, to track down redirect loops.
Makes every "Log out" link on the front of the site return people to the page they were reading instead of the login screen.
Sends members to a different page after logging in depending on the membership they hold, for example Gold members to the Gold dashboard.
Redirects logged-in members who already own a membership away from that membership's sign-up page to their account page, avoiding accidental double purchases.
Sends new members to a different confirmation page for each level after checkout, for example an onboarding page for your premium tier.
Sends members to a different page after logging in depending on their membership level, for example Premium members to the premium library.
Redirects members who already have a level away from the levels page to their membership account page, unless they came to change their level.
Adds an "After login, go to" field to each user's profile so administrators can send specific clients or members to their own page when they log in.
Replaces the network's default wp-signup.php address in links and redirects with a custom page, such as a pricing or onboarding page, while keeping the real signup form available.
Redirects ?s=term searches to /search/term/ when pretty permalinks are enabled, which gives cleaner, shareable URLs.
Sends visitors who hit a missing page to the homepage instead of showing the 404 template.
Permanently redirects every plain HTTP request to the HTTPS version of the same URL, for sites whose host does not do it already.
Sends visitors of media attachment pages to the post the file is attached to, or to the homepage for unattached files.
Sends visitors to a different page after submitting depending on what they chose in a drop-down or radio field, such as a sales or support thank-you page.
Sends visitors who submit the search form without typing anything back to the homepage instead of showing every post.
Adds a "Redirect to" box to the post and page editor; when filled in, visitors who open that post are sent to the address you entered, on your site or elsewhere.
Sends visitors who land on the homepage to the matching language section (such as /fr/ or /de/) based on their browser language, once; their choice is then remembered.
Sends visitors to a different page after submitting a Fluent Forms form depending on an answer, such as separate thank-you pages for each service.