CMS: Restricting Access to Dynamic Content by Member Roles or by Paying Subscribers

3 min read
Control who has access to specific dynamic or static pages by limiting access to specific member roles or paying subscribers. 
For example, with an educational website, you could create pages that are only accessible to members (e.g. students and teachers) who have signed up. You could also restrict pages to specific members (e.g. teachers) based on their member role. 
Before you begin:

Restricting dynamic content with member roles

You can restrict dynamic content on your site to visitors with roles specified by you.

Step 1 | Create members-only pages

Create or make an existing static or dynamic page a members-only page. By taking advantage of this feature, you can restrict access to pages. Create members-only pages for content that is available exclusively to your logged-in members. Learn more

Step 2 | Create member roles

Member roles help you manage which site members can access which pages. For example, if you have a teaching website, you might want to create some pages that are accessible to any signed up member (i.e. students and teachers) and some pages that are restricted to specific members only (i.e. teachers). Learn more

Step 3 | Limit pages to specific member roles

Member roles let you limit specific restricted pages of your site to a group of members (a role). Limit your site pages to specific members based on member roles following the steps detailed here
Note:
Dynamic pages can only be restricted to member roles via your editor, not via the site's dashboard.

Step 4 | Change your collection permissions

It is recommended to review your collection permissions and to modify your permissions to member roles only. When you create a new collection, you define its permissions. Permissions control who can view, create, update and delete content in a collection. You can change these permissions from the CMS (Content Management System). Learn more

Restricting dynamic content to paying customers

You can restrict dynamic content on your site to paying visitors.

Step 1 | Create members-only pages

Create or make an existing static or dynamic page a members-only page. By taking advantage of this feature, you can restrict access to pages containing dynamic content. Create members-only pages for content that is available exclusively to your logged-in members. Learn more

Step 2 | Add the Pricing Plans app

With the Pricing Plans app, you can offer clients plans with recurring or one-time payments. This is great for selling memberships or subscriptions as well as one-time packages. You choose the duration and pricing of the plan, as well as the available payment methods. Learn more

Step 3 | Create a plan in Pricing Plans

With the Pricing Plans app, you can create and sell membership plans and packages. Plans can both provide or restrict access to a variety of services or content. Learn more

Step 4 | Limit site pages to paying members

If you want to offer paying clients access to exclusive content, simply connect your pricing plans to your members-only pages. Learn more
Note:
Dynamic pages can only be restricted to pricing plans via your editor, not via the site's dashboard.

Step 5 | Change your collection permissions

It is recommended to review your collection permissions and to modify your permissions to member roles only. When you create a new collection, you define its permissions. Permissions control who can view, create, update and delete content in a collection. You can change these permissions from the CMS. Learn more

Did this help?

|