CMS: Restricting Access to Dynamic Content by Member Roles or by Paying Subscribers
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:Make sure to add a Members Area to your site. Restricting dynamic content with member rolesYou can restrict dynamic content on your site to visitors with roles specified by you.Step 1 | Create members-only pagesCreate 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 moreStep 2 | Create member rolesMember 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 moreStep 3 | Limit pages to specific member rolesMember 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 permissionsIt 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 moreRestricting dynamic content to paying customersYou can restrict dynamic content on your site to paying visitors.Step 1 | Create members-only pagesCreate 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 moreStep 2 | Add the Pricing Plans appWith 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 moreStep 3 | Create a plan in Pricing PlansWith 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 moreStep 4 | Limit site pages to paying membersIf you want to offer paying clients access to exclusive content, simply connect your pricing plans to your members-only pages. Learn moreNote:Dynamic pages can only be restricted to pricing plans via your editor, not via the site's dashboard.Step 5 | Change your collection permissionsIt 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