Setting a Member-specific Login Redirect

Article author
Duncan Hamra

login_redirect.gif

In this example, imagine you’ve created a specific page on your website for a member called Frank. We want Frank to visit this page each time he logs in.

To make this happen we need to override Frank’s login redirect.

  1. Navigate to the Members page and select Frank.
  2. Scroll down and open the dropdown called “Login Redirect”.
  3. Enter a page slug starting with “/” - in this case, we’ll use /welcome/frank
  4. Click Save, and done! The next time Frank logs in, they’ll land on the website.com/welcome/frank

Create a Dynamic Dashboard Button 

Create a button with the data attribute data-ms-action="login-redirect".

This button is only visible if a member is logged in, and will dynamically redirect the user based on their login redirect. Continuing from our example above, Frank would be redirected to /welcome/frank.

Prevent Others from Accessing the Page.

The easiest way to accomplish this is to:

  1. Make the URL unguessable so other members won’t end up there by mistake. For example, /welcome/frank-n2938n239un109828n
  2. Remove/modify your sitemap so search engines and savvy browsers can’t see what pages are available on your site. This is a best practice when using Memberstack anyway.
  3. Make sure Frank is the only person who has a link to the page. Remove any public links pointing to the page.

If you do those 3 things, your site is as secure as Google Photos!

Was this article helpful?

Comments

2 comments

  • Comment author
    Jack Heerink

    How do you link back to a member's specific login page if you have multiple pages under gated content? 

    0
  • Comment author
    Duncan Hamra

    Jack Heerink You'll need to link your gated content pages together or create a "hub" page that links out to all of the pages.

    0

Please sign in to leave a comment.