Skip to content
Gaurav TiwariDocs

Page Access

Version 5.2.5 Updated November 23, 2026

Page Access restricts pages, posts and other content to customers who bought a Core Commerce product or plan. Everyone else sees the title and an access notice with a buy button, or nothing at all for a private page.

Use it for member guides, course pages, download pages or client resources that come with a purchase. You pick the products that unlock each page, and Core Forms keeps the content out of site search, the REST API and page caches for everyone who hasn’t bought.

Turn on Page Access

  1. Go to Core Forms > Modules and turn on Page Access. This also turns on Licensing and Storefront if it’s off.
  2. Open Core Commerce > Page access, or use the Manage page access link on the module card.

Restrict a page

There are two ways to set the same thing.

From the page editor:

  1. Open the page or post. Find the Customer access box in the sidebar.
  2. Tick each product whose buyers can open it. Tick plans under a product to limit it to those plans, or leave the plans unticked for any plan.
  3. Update the page.

From the Page access tab:

  1. Under Pages a product unlocks, choose a product and click Show pages.
  2. Tick the pages and posts its buyers can open. Use Filter by title to find them.
  3. Click Save page access.

Pages ticked on this tab accept any plan of the product. To limit a page to some plans, use the Customer access box in its editor.

  • Several products on one page means a purchase of any of them unlocks it.
  • Every public content type can be restricted, except media attachments.
  • The Core Commerce checkout and customer account pages can’t be restricted, so customers can always reach them.
  • List tables mark restricted content as Customers only, and the Restricted content table on the Page access tab lists all of it.

Who gets in

  • Software products (plugins, themes, digital products) follow the license. It must be active and unexpired, and its order not refunded. A cancelled subscription keeps access until the end of the time already paid for.
  • Services and events follow the order. Access lasts while the order stays paid.
  • A refund or a disabled license ends access at once.
  • Your team always sees restricted content. Anyone who can edit the page can open it.

Customers are matched by their WordPress account or by the email on their order. A guest who opens the account link from their order email can read restricted pages without signing in. A separate cookie keeps them in for up to 30 days. It opens restricted pages only, never the customer account, and it’s cleared when they log out.

What everyone else sees

On a published page, the title stays visible and the content is replaced by an access notice:

  • The notice title and text from the settings below, with {products} filled in with the products that unlock the page, such as “Pro or Agency”.
  • Up to three Get Pro buttons that link to each product page, or to the checkout for a specific plan.
  • For visitors who aren’t signed in, a Sign in button and an “Already bought? Enter your purchase email.” form that sends their account link. The form answers the same way whether or not the email has an order, and sends at most one link per email every 5 minutes.

On a private page, buyers who are signed in, or who opened their account link, can read it. Visitors who aren’t signed in are sent to the customer account page to sign in. Everyone else gets the normal “not found” page.

Page access settings

Setting Default What it does
Visitors who are not signed in Show the access notice on the page Or Send them to the customer account page to sign in. Published pages only.
Customers without access Show the access notice on the page Or Send them to the product page or checkout. Published pages only.
When a license or subscription ends End access when the license expires or the subscription ends Or Keep access after the first payment. Refunds and disabled licenses always end access.
Notice title This page is for customers The notice heading. It also replaces the SEO description on locked views.
Notice for visitors who are not signed in This page comes with {products}. Already bought it? Sign in, or get your account link by email. Shown to unknown visitors.
Notice for customers without access Your account does not include this page yet. It comes with {products}. Shown to signed-in customers who haven’t bought it.
List unlocked pages in the customer account On Adds a section listing the pages each customer can open.
Account section name My pages The name of that section.

Choose the redirects if your page builder shows page content to visitors anyway. Click Save page access settings when you’re done.

The My pages section

With the setting on, the customer account gets a My pages section once a customer has a page to open. It lists each page with “Included with” and the product name, and an Open page button.

Add [cf_my_pages] to any page to show the same list there. Visitors who aren’t identified see a prompt to sign in or open the account link from their order email.

Search, sitemaps and caching

  • Site search and REST search leave out content the visitor can’t open.
  • Comments on locked pages are hidden.
  • Every restricted page is marked noindex and left out of WordPress, Rank Math and Yoast sitemaps, even for buyers. Keep your sales page open and restrict the page with the content.
  • Restricted pages are sent with no-cache headers, and GT Performance skips them automatically. Add the same exclusion to any other page cache or CDN in front of the site.

Turn Page Access off

Turning the module off opens every restricted page to the public again. Your page and product choices stay saved, and turning it back on restores them.

For developers

There’s no REST route, block or WP-CLI command for Page Access.

  • cf_page_access_post_types changes which content types can be restricted.
  • cf_page_access_can_view has the final say on whether a visitor can view a page.
  • cf_page_access_subscription_statuses changes which subscription states keep access open.
  • cf_page_access_changed fires with the post ID after a page’s access changes. Use it to purge a page cache.
Share

Was this helpful?

Still stuck? Open a support ticket