---
title: Restrict your first page
description: Use the Locker box in the WordPress editor to show a page, post or custom post only to some Memberships, and choose whether others are redirected or see a replacement message.
url: "https://ultimatemembershippro.com/docs/step-3-restrict-pagescontent/"
updated: "2026-10-18"
category: Getting Started
tags:
  - restrict page
---

# Restrict your first page

3 minBeginnerUltimate Membership Pro 14.2+

[Restricting content](https://ultimatemembershippro.com/features/content-restriction/) is what makes a membership site: with Ultimate Membership Pro, you can restrict a page to members only. Every page, post and custom post type gets a Locker box in the editor where you decide who can see it and what everyone else gets instead.

This guide locks one page to two Memberships and shows the two things you can do with everyone else: redirect them, or show them a message.

Before you start

- You have at least one Membership. See [Create your first Membership](https://ultimatemembershippro.com/docs/step-2-create-levelssubscriptions/).
- You have a test member account, or you can open a private browser window to test as a visitor.

## Show or block?

Show Page Only

**Who sees it**
: Only the members you select

**Good for**
: Members-only lessons, downloads, resources

Block Page Only

**Who sees it**
: Everyone except the members you select

**Good for**
: Offers for non-members, a sign-up page

## Open the page in the editor

1. Go to Pages*›*All Pages and edit the page you want to lock. Posts and custom post types work the same way.
2. Find the **Ultimate Membership Pro – Locker** box. In the [block editor](https://wordpress.org/documentation/article/wordpress-block-editor/) it's in the sidebar, under the page settings. In the classic editor it's in the right column.

## Choose who can see the page

[![Locker box with Show Page Only selected, Pro Monthly and Annual Pass added as member types, and Redirect the Page selected](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-01-locker-redirect.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-01-locker-redirect.png)
The Locker for the example page. The numbers match the list below.

 1Visibility rule

**Show Page Only** or **Block Page Only**. See the comparison above.

Default: **Show Page Only**

2For these members

Pick from the drop-down to add a member type. Add as many as you need; click × on a tag to remove it.

- **All**: everyone.
- **Registered Users**: anyone who is logged in.
- **Unregistered Users**: visitors who aren't logged in.
- **A Membership**, such as Pro Monthly: members who hold it and whose Membership is active.

3If access is not allowed

What people who can't see the page get. See the next step.

Default: **Redirect the Page**

No member type, no restriction

If you don't add anyone under For these members, the page isn't restricted.

## Decide what everyone else gets

 Redirect the Page

Sends them to another page. Pick it in **Redirect to**. The **default** option uses the Default Redirect Page from Ultimate Membership Pro*›*Settings*›*Pages Setup.

Replace the Content

Keeps them on the page but shows other content instead, for example a short pitch with a link to your plans. You write it in the **Replace Content** box below the editor.

[![Locker box with Replace the Content selected and a note to add the replacement content in the Replace Content box](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-02-locker-replace.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-02-locker-replace.png)
Switching to Replace the Content.

[![Replace Content box under the editor with the text This lesson is for Pro members and a link to the plans](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-03-replace-content-box.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-03-replace-content-box.png)
The content shown to people who can't see the page.

This is what a visitor who isn't logged in sees on the example page:

[![Member Lessons page on the front end showing only the replacement message with a link to the plans](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-04-visitor-view.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-restrict-first-page-04-visitor-view.png)
The page as a visitor sees it.

## Update the page and test it

Click Update (or Save). Then open the page in a private browser window, or log in with a test member, to check what each person sees.

## How access is decided

 Admins see everything

Administrators always see the real page, so test while logged out or with a member account.

Only active Memberships count

A Membership that expired, hasn't started yet, or is outside its week days (WeekDays or WeekEnd) doesn't give access.

Default Redirect Page

This page is never redirected, to avoid loops. Its Locker always uses Replace the Content.

Other ways to restrict

- Hide only part of a page: [How to set an Inside Locker](https://ultimatemembershippro.com/docs/how-to-set-an-inside-locker/).
- Lock many pages, a category or a URL pattern at once: [How to restrict any page or group of pages](https://ultimatemembershippro.com/docs/how-to-restrict-any-page-or-group-of-pages/).

## Example: members-only lessons

 **Member Lessons**Pro members read the lessons. Everyone else sees a short message with a link to the plans.

**Visibility rule**
: Show Page Only

**For these members**
: Pro Monthly, Annual Pass

**If access is not allowed**
: Replace the Content

**Replace Content**
: This lesson is for Pro members. See the plans to unlock it.

## Troubleshooting

  I can still see the restricted page

You're logged in as an administrator. Admins always see everything. Test in a private window.

  A member with the right Membership is redirected

Check the member's Membership in Members. [It must be active](https://ultimatemembershippro.com/docs/levels-colors-explanation/): not expired, already started, and inside its week days.

  Visitors land on the Default Redirect Page

That's the **default** option of Redirect to. Pick another page in the Locker, or change the Default Redirect Page in [Pages Setup](https://ultimatemembershippro.com/docs/step-1-set-default-pages/).

  I don't see the Locker box

In the block editor, open the sidebar (the panel icon at the top right) and the Page tab, then scroll down.

## What's next

 [**Connect a payment gateway**Sell your paid Memberships.](https://ultimatemembershippro.com/docs/step-4-set-payment-gateway-if-applicable/)[**Hide part of a page**Lock a section instead of the whole page.](https://ultimatemembershippro.com/docs/how-to-set-an-inside-locker/)[**Restrict groups of pages**Use Access Rules for many pages at once.](https://ultimatemembershippro.com/docs/how-to-restrict-any-page-or-group-of-pages/)[**Customize what members see**Style the forms and plan page.](https://ultimatemembershippro.com/docs/step-5-manage-showcases/)
