1. Home
  2. AccessAlly
  3. Basic Setup in AccessAlly
  4. How to Automatically Redirect Visitors to A WordPress Login Page in AccessAlly

How to Automatically Redirect Visitors to A WordPress Login Page in AccessAlly

Why Should You Automatically Redirect Visitors to a WordPress Login Page?

A membership site is a wonderful tool that allows you to restrict access to your website content. When built properly, the only ones who can access this content are those who have purchased a subscription (or, in the case of a free course, opted in).

The good news is that your membership plugin can take over the task of automatically redirecting visitors to the WordPress login page first, then permit those with the right credentials to move on and explore the site itself.

What You’ll Need To Automatically Redirect Visitors to A WordPress Login Page

The tool list you need is pretty short:

How Does An Automatic Redirect to A WordPress Login Page Work?

AccessAlly protects your membership site content, requiring visitors to login first with their unique username and password.

As soon as they’ve successfully entered their username and password, AccessAlly then redirects them again to the URL they initially tried to access.

The great thing about AccessAlly is that it truly makes it simple for you to design and manage this redirection.

How To Automatically Redirect Visitors to A WordPress Login Page

In this example, I’ll show you how to use AccessAlly to control your automatic redirection.

Step 1: Install the AccessAlly plugin on your WordPress Site & Set Up Integrations

AccessAlly can be installed on your WordPress site like any other plugin. Then, integrate it with your tag-based CRM of choice.

Step 2: Create Your Site-Wide Redirects

In the sidebar of your site’s backend, go to AccessAlly → Settings.

AccessAlly Settings Screenshot

Inside AccessAlly → Settings → General Settings → Key Pages, you’ll see a list of redirect options.

AccessAlly Key Pages Screenshot

For each option, you can select a specific page for your visitors to be automatically redirected to when they try to access the content on your site.

Login Page

This the most fundamentally important selection. Here, you can decide where you want any visitor who is not logged in to be redirected. This is where you can select your login page.

Existing Member Login Page (For On-Demand Logins/Sales)

When a new user signs up through an On-Demand Login or an Order Form, they are automatically logged in. Existing members will be redirected to this page, where you can explain why & how to login to their existing account.

Page after logging in

Visitors are redirected to this page if they went to the login page directly.

Insufficient Permissions Page

Logged-in Visitors are redirected to this page if they try to access a page without the necessary permission. This usually happens due to a refund/cancelled access.

Logout Page

Visitors are redirected to this page after logging out.

Bonus Automatic Redirection

AccessAlly doesn’t stop with the general site redirection options. On each page, you can create more detailed automatic redirects so that your membership site really tailors to each individual user.

If a visitor is not logged in and tries to access content in your “Amazing Challenge,” for example, you could create a conditional redirect that sends them to the opt-in form to sign up.

AccessAlly Redirection Opt-in

If a visitor is logged in, you can get even more granular, and create a series of specific redirects based on what permission tags the user has.

AccessAlly Redirections Logged in With Conditions

AccessAlly’s automatic redirects are a powerful way to control the overall experience and effectiveness of your membership site built on WordPress, whether the users are logged in or not.

Updated on November 27, 2023

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away.

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

Laptop with the AccessAlly demo site

AccessAlly is the most flexible way to sell and elegantly deliver digital offerings. All in one place.

WATCH THE DEMO

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