1. Home
  2. AccessAlly
  3. Creating Courses
  4. How To Create An Auto Login After Registration for Free Courses

How To Create An Auto Login After Registration for Free Courses

When a new student registers for a free online course, there’s usually a sequence of events that has to take place before they can actually access your course.

First, the opt-in must be submitted successfully. Then, the tech tools have to receive the info and create a new user (complete with a password). Finally, this new login info must be emailed to the new student … all before they can login and access the course material.

The challenge with this lag is that the student has to wait several minutes–or hours–to access the course material. Perhaps not the biggest deal-breaker, but it can get frustrating fast. Lost emails, distractions, and loss of that initial excitement can all get in the way of an amazing first-experience.

That’s why it’s a great idea to set up an auto login after registration for your free courses.

How A WordPress Auto Login After Registration Works

An auto-login after a free course registration works when you’ve built your free course inside your AccessAlly membership site, right alongside your paid courses.

AccessAlly will then generate a special link known as an On Demand Login. All you have to do is take this link, use it as your opt-in Thank You page URL, and voila.

The magic happens:

A website visitor sees your offer for a free course, they opt-in, and immediately are redirected inside your membership site, logged in under their own, brand-new user.

This is 5-star treatment at its finest.

Why free courses belong inside your membership siteBy creating your free course inside your membership site, you can deliver the same, high-quality, professional experience across the board, making it more likely that your free course students will sign up for your paid material.

Here’s an article that talks about the strategy more in-depth: The Login Optin™ Strategy

How to Set Up An Auto Login After Registration for your WordPress Site

The steps below assume that you have your AccessAlly site set up and that your free course is built and ready to go.

Step 1: Choose Your Redirect URL

What page inside your membership site do you want users to be sent to when they submit the opt-in form? A course page? The main dashboard?

Choose your URL and get it ready for the next step.

Remember that some pages on your membership site may require additional permission tags to view.If you wish to send new subscribers to these pages, please make sure that the proper permission tags are added in your opt-in form’s settings.

Inside your membership site, go to: AccessAlly > Custom Operations > Add New.

Name your custom operation, and make sure it’s set to on demand login information

This screenshot shows how the settings will appear:

A screenshot of the WordPress auto login after registration feature.

Add the URL to the page you want to use in the “Redirect to this URL on successful login” area.

IMPORTANT: Click on the “save” button at this point.

Now, you’ll need to copy the URL created by AccessAlly. This will be used as the “thank you page” URL in your opt-in form settings.

Click copy.

Next, access the opt-in form’s settings in your CRM, so you can add the URL from the previous step.


When editing your Infusionsoft/Keap form, go to Thank-You Page. Here, make sure the Thank You page is set to display a Web Address. Paste the URL into the field and save.

A screenshot of the WordPress auto login after registration feature.


When setting up your opt-in form, go to SETTINGS and make sure the “Custom URL” is selected. Paste the URL into the field and save.


When editing your ActiveCampaign form, go to Options. In the “On Submit” section, make sure it’s set to Open URL. Paste the URL into the field and save.


When editing your Drip form, go to Post-Signup. In the “Custom Post Submission Page” section, paste the URL into the field. Make sure to check the box directly below in order to activate this. Then, click save.

Step 4: TEST

As always, please test your setup before making it live. A good workflow to test this feature is:

  1. Access your new opt-in form in an incognito window.
  2. Fill out the opt-in form using an email address that does not belong to a current membership site user.
  3. After submitting the form, you should be automatically logged into the membership site and redirected to the designated URL (the one you added to the settings in Step 1).
  4. Check your CRM to make sure the email and permission tags appear properly.
  5. Repeat the testing steps again. Testing multiple times is a good practice.


*This feature is only available for new users to the site. For current members of your site, if they opt-in to an form that is configured with this feature, they will not be auto-logged in for security purposes. Rather, they will be directed to a login page to enter their credentials and verify their identity. The user will gain access to the offerings, this only requires them to confirm their identity to ensure they are the valid user on login.
Updated on October 1, 2019

Was this article helpful?

Related Articles


If you have any questions, we're just an email away at your@accessally.com.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders


You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.