1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Toolkit
  4. Not Enrolled Redirect

Overview

The Not Enrolled Redirect module adds a field to the Edit Course screen that enables you to specify a URL that users will be redirected to if they attempt to access the course but are not enrolled.  The redirect will apply to all logged-out users, as well as logged-in users that are not enrolled.  The redirect will not affect Administrator users.

This is particularly useful if you want to redirect non-enrolled users to a sales or purchase page rather than the standard course page which may not be optimized for course sales.

Was this article helpful?

8 replies
    • Ryan
      Ryan says:

      Good find! We’ll be releasing more info on this one shortly, but the URL settings are at the course edit level. So you can turn it on from the Toolkit screen, and that adds a field at the course level to enter the individual redirect behaviours at the course level. There is no way to set a global redirect; each course must have its own URL if you want to redirect them.

      Reply
        • Ryan
          Ryan says:

          I’m afraid very few sites are likely to use that URL, so defaulting to what would very likely result in a lot of 404s and confusion. It’s much safer if we don’t include the default. Sorry about that!

          Reply
  1. Kevin Moore
    Kevin Moore says:

    Would it be possible for you to add the redirect at the lesson level? When I apply the redirect at the course level, it does not allow users to take the sample lesson on my site.

    Reply
    • Ken Young
      Ken Young says:

      The most common use of this module is to prevent users from seeing the course page if they’re not enrolled, so if you’re offering sample content, we’d recommend not enabling it, but instead using the visitor and student shortcodes to show content on the course page depending on the user’s enrollment status.

      Reply
  2. Johb
    Johb says:

    I’m having caching issues with this feature – it works at first to redirect to sales page. But when the sale is cplete and they have access to the course , I can’t stop the redirect from happening. Any fix for this?

    Reply
    • Ken Young
      Ken Young says:

      Typically, hosts don’t cache pages for logged-in users. Can you confirm that the users experiencing the redirect are in fact logged into the site when they try to visit the course page?

      Reply

Comments/Questions

Please note that this is not an official support channel and questions/comments may go unanswered.
To request support, log in to your account and click Submit a Request.

Leave a Reply

Your email address will not be published. Required fields are marked *