1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Toolkit Pro
  4. Group Login Redirect

The Group Login Redirect module enables you to redirect group members to a group-specific page on login. Once the module is enabled, it adds the login fields below to LearnDash Group edit pages.

Simply enter the redirect URL in the Redirect members on login field.

In most cases, you should leave the Redirect priority field blank.  There are two situations in which you may want to enter a number in the field:

  • If users are in multiple groups with login redirects, the redirect with the highest Redirect priority will take precedence.
  • If you find that users are not being redirected to the desired URL on login, it’s likely that another plugin on your site is overriding the redirect with a redirect of a higher priority.  Enter a number larger than 99 in the Redirect priority field (try 99999 if you absolutely want this redirect to take priority over all others).

Shortcodes

The Group Login Redirect module includes two shortcodes that enable you to create a link to the Group Login Redirect URL. These are:

[uo_group_login_redirect_url]

This shortcode outputs the URL exactly as it is typed into the Redirect members on login field (see above).  This enables usage in a menu (with a plugin like this), button, or image link.

[uo_group_login_redirect_link text=”Portal”]

This shortcode outputs an HTML link using the “text” attribute and the URL in the Redirect members on login field. An example of the code generated would be:

<a href="[URL]">[text]</a>.

Was this article helpful?

0 replies

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 *