Guides

BricksMembers Documentation

Find everything you need to set up, customize, and get the most out of BricksMembers — from quick-start guides to advanced features.

Access Redirects & Custom Messages

Access Redirects & Custom Messages
Pascal Basel
modified at January 1, 2026

When a user tries to access content they don’t have permission to view, what happens? By default, they might see the content (bad for security) or a generic error message (bad for user experience). BricksMembers’ Access Redirect system lets you control exactly what happens, creating seamless upgrade flows and better user experiences.

What you’ll learn:

  • How access redirects work
  • Setting up logged-out redirects (site-wide)
  • Configuring access redirect rules
  • Creating custom access denied pages
  • Building upgrade flows
  • Troubleshooting redirect issues

Prerequisites:

  • BricksMembers installed and activated
  • At least one user level created
  • Some content with required levels assigned

Part 1: Understanding Access Redirects

The Problem

Scenario 1: A logged-out visitor tries to access a members-only page.

  • Bad: They see the content (security breach)
  • Bad: They see a generic “Access Denied” message (poor UX)
  • Good: They’re redirected to the login page or a proper message with call to action is shown

Scenario 2: A free member tries to access premium content.

  • Bad: They see the content (security breach)
  • Bad: They see a generic error (no path forward)
  • Good: They’re redirected to an upgrade page explaining the benefits or there’s an upgrade message instead of the content

In this post, we will focus on the redirects instead of showing CTA and upgrade messages. Showing messages, ideally together with teaser content in Bricks Builder using BricksMembers conditional logic is recommended, but in some cases, you might want to use the old-fashioned redirect approach.

The Solution for redirects

BricksMembers provides two types of redirects:

1. Logged-Out Redirects (Site-Wide)

  • Redirect ALL logged-out users to the login page
  • Useful for fully private membership sites
  • Automatically excludes login, registration, and password reset pages

2. Access Redirects (Per-User-Level)

  • Redirect users without required levels to a specific page
  • Can be different for each user level
  • Useful for upgrade flows and custom messaging

Part 2: Logged-Out Redirects (Site-Wide)

When to Use Logged-Out Redirects

Use logged-out redirects when:

  • Your entire site is members-only (no public content)
  • You want to force login before accessing any page
  • You’re building a private community

Don’t use logged-out redirects when:

  • You have public content (blog, marketing pages)
  • You want visitors to browse before signing up
  • You’re building a freemium site with public and member content

Setting Up Logged-Out Redirects

  1. Go to BricksMembers → Access Control
  2. In the Logged-Out Redirects section:
  3. Enable Redirects: Toggle ON
  4. Click Save Settings

Result: All logged-out visitors are redirected to the WordPress login page when they try to access any page.

Automatic Exclusions

BricksMembers automatically excludes these pages from logged-out redirects:

  • WordPress login page (/wp-login.php)
  • WordPress registration page
  • WordPress lost password page
  • WordPress reset password page
  • Bricks custom auth pages (if you’ve set them in Bricks → Settings):
    • Custom login page
    • Custom registration page
    • Custom lost password page
    • Custom reset password page

Why: Users need to access these pages to log in, register, et cetera, so they’re never redirected.

Adding Custom Exclusions

If you have other pages that should be accessible to logged-out users (e.g., a sales page), add them to the exclusion list.

  1. Go to BricksMembers → Access Control
  2. Find Exception Pages (search field)
  3. Search for and select pages that should be excluded
  4. Click Save Settings

Result: These pages are accessible to logged-out users even with logged-out redirects enabled.

Part 3: Setting Up the Fallback Redirect

The fallback redirect applies when a user lacks access and their level doesn’t match any specific redirect rule. It’s like a “catch-all” for access denials.

  1. Go to BricksMembers → Access Control
  2. Scroll down to the Fallback Redirect card
  3. Click Internal Content or External URL
  4. For internal: Search for and select a page (e.g., “Login Required” or “Upgrade”)
  5. For external: Enter the full URL
  6. Click Save Fallback Redirect

Result: Users without access are redirected to this page when no level-specific rule matches.

Part 4: Creating Level-Specific Redirect Rules

Level-specific redirect rules let you redirect different user levels to different pages. These rules take priority over the fallback redirect.

Creating a Redirect Rule

You can redirect different user levels to different pages.

Example:

  • Free members trying to access premium content → “Upgrade to Premium” page
  • Premium members trying to access VIP content → “Upgrade to VIP” page
  • Logged-out users → “Login” page (via fallback)

Steps:

  1. Go to BricksMembers → Access Control
  2. Scroll to Redirect Rules section
  3. In the Create Redirect Rule form:
    • User Level: Select “Free Member”
    • Redirect Destination: Choose Internal or External
    • If Internal: Search for and select “Upgrade to Premium” page
    • Excluded Posts (Optional): Search for posts where this rule should NOT apply
  4. Click Create Rule
  5. Repeat for other levels (Premium Member → “Upgrade to VIP”)
  6. Click Save Settings

Result: Each user level is redirected to a different page when they lack access.

How Redirect Priority Works

When a user tries to access protected content:

  1. BricksMembers checks which user levels are required for that content
  2. It checks if the user has any of those required levels
  3. If the user doesn’t have access, it looks for a redirect rule matching one of the required levels
  4. If a matching level-specific rule is found, the user is redirected to that rule’s destination
  5. If no matching rule is found, the user is redirected to the Fallback Redirect destination
  6. If no fallback is configured, no redirect occurs (the access control system will still prevent them from seeing the content)

Example flow:

  • Free Member accessing premium content → “Upgrade to Premium” (level-specific rule for “Free Member”)
  • Premium Member accessing VIP content → “Upgrade to VIP” (level-specific rule for “Premium Member”)
  • Logged-out user accessing any member content → “Login Required” (fallback redirect)

Important: Access redirect rules only work for logged-in users. Logged-out users are handled by the “Logged-Out Redirects” setting (see Part 2 above).

Part 5: Creating Custom Access Denied Pages

Instead of generic error pages, create beautiful, persuasive access denied pages.

Example 1: Upgrade to Premium Page

Goal: Convince free members to upgrade.

Steps:

  1. Create a new page: “Upgrade to Premium”
  2. Edit with Bricks Builder
  3. Add:
    • Heading: “Unlock Premium Content”
    • Text: “You’re trying to access premium content. Upgrade now to get:”
    • List: Benefits (access to premium courses, downloadable resources, priority support, etc.)
    • Button: “Upgrade Now” → Link to your payment page
    • Text: “Already upgraded? Login here
    • Optional: Add an icon, content previews etc. – everything that makes users interested helps
  4. Publish the page
  5. Go to BricksMembers → Access Control
  6. Create a redirect rule for “Free Member” level pointing to this page

Result: Free members see a compelling upgrade page instead of an error.

Example 2: Login Required Page

Goal: Prompt logged-out users to log in.

Steps:

  1. Create a new page: “Login Required”
  2. Add:
    • Heading: “Members Only”
    • Text: “This content is for members only. Please log in to continue.”
    • Button: “Login” → Link to login page
    • Text: “Don’t have an account? Sign up here”
  3. Publish the page
  4. Set this as the Fallback Redirect destination

Result: Logged-out users see a friendly login prompt.

Part 6: Best Practices

Practice 1: Always Provide a Path Forward

  • Bad: “Access Denied. You don’t have permission.”
  • Good: “Upgrade to Premium to access this content. [Upgrade Now]”

Why: Users know what to do next.

Practice 2: Explain the Benefits

On your redirect page, explain what they’ll get:

  • List specific benefits
  • Show pricing
  • Include testimonials
  • Add a clear call-to-action

Practice 3: Test All Redirect Paths

After setting up redirects:

  1. Log out and test
  2. Log in as a free member and test
  3. Log in as a premium member and test
  4. Verify each redirect goes to the correct page

Practice 4: Use Friendly Language

  • Bad: “Error 403: Forbidden. Access Denied.”
  • Good: “This content is for Premium members. Upgrade to unlock!”

Why: Friendly language reduces frustration and increases conversions.

Practice 5: Provide Alternative Options

On redirect pages, offer alternatives:

Part 7: Common Issues and Solutions

Issue 1: Redirect Loop (Infinite Redirects)

Cause: Redirect destination page also requires a level the user doesn’t have.

Solution:

  1. Ensure redirect destination pages have NO required levels
  2. Or set required levels to a level everyone has (e.g., “Free Member”)
  3. Check that the redirect destination isn’t redirecting to itself

Issue 2: Login Page Redirects to Itself

Cause: Custom login page is not automatically excluded unless used in Bricks Authentication Pages

Solution:

  1. If using a custom login page, add it to Exception Pages in Access Control
  2. Or set it as a Bricks custom auth page in Bricks → Settings

Part 8: Integration with Other Features

Menu Visibility

Combine redirects with menu visibility for a seamless experience.

Setup:

  1. Hide premium content links from free members (Menu Visibility)
  2. If they access the URL directly, redirect to upgrade page (Access Redirects)

Result: Free members don’t see the link in navigation, and if they somehow access it, they’re redirected.

Webhooks

Automatically grant access after purchase.

Setup:

  1. Set up webhook from payment processor (see Post 16: Webhooks)
  2. Map product to user level
  3. When user purchases, they automatically get the level
  4. They can now access content (no more redirects)

Result: Instant access after purchase.

Summary

You’ve learned how to:

  • ✅ Understand how access redirects work (logged-out vs. access redirects)
  • ✅ Set up logged-out redirects for fully private sites
  • ✅ Configure level-specific redirect rules
  • ✅ Create custom access denied pages with compelling upgrade messages
  • ✅ Build complete upgrade flows from discovery to purchase
  • ✅ Use excluded posts for special cases
  • ✅ Implement advanced redirect strategies
  • ✅ Follow best practices for user experience and conversions
  • ✅ Troubleshoot common redirect issues

Your membership site now provides a seamless, user-friendly experience for all visitors, regardless of their access level!

Create

Start Building with BricksMembers

Create, sell, and manage your content without limits. BricksMembers gives you everything you need to build membership and LMS sites directly in Bricks Builder — fast and frustration-free.

Join the membership & LMS revolution now!

Get Started
Still have questions? We're here to help!