Webflow sync, pageviews & more.
NEW

How can I give access to only one specific page in a CMS collection with gated membership access in Webflow?

TL;DR
  • Create a Member Group and add a switch field in your CMS collection to flag the item requiring restricted access.
  • Restrict the entire Collection Template behind the Member Group, then use conditional redirect logic to reroute non-gated items to public versions, leaving only the flagged item protected.

To grant access to only one specific CMS collection item (page) in Webflow using the built-in Memberships feature, you need to use conditional access with Member Groups and custom visibility settings.

1. Understand the Limitation of CMS Collection Pages

  • Webflow Memberships access control applies to the entire Collection Template (not individual items by default).
  • This means gating one item in a CMS Collection while keeping the others public requires a workaround using Member Groups and conditional visibility.

2. Create a Custom Member Group

  • Go to Site Settings > Memberships > Member Groups.
  • Create a new group (e.g., “Premium” or “Single Page Access”) and set the access level as needed (Free, Paid, etc.).
  • This group will determine who gets access to the gated item.

3. Add a Custom Field in the CMS Collection

  • Go to CMS > Your Collection (e.g., Articles, Courses).
  • Add a Switch Field (e.g., "Requires Membership Access").
  • Toggle this field ON only for the specific item you want to restrict.

4. Set Page Protection on the Collection Template

  • Go to the Collection Page Template (e.g., Article Template).
  • Open the Page Settings Sidebar and navigate to “Restrict Access”.
  • Choose to gate the page behind Membership Access and select the Member Group you created earlier.
⚠️ This will now restrict access to all CMS items, so we need a workaround with a Redirect.

5. Use Conditional Redirect for Non-Gated Items

  • On the Collection Template Page, use a Page Load redirect logic for items that are NOT the gated one.
  • Add a HTML Embed element or use Custom Code in Page Settings that checks the “Requires Membership Access” field.
  • For example: if the current CMS item does not require restricted access, use window.location.href to redirect to a public clone of the item you've created as a static page or another CMS collection without access restrictions.

6. Publish and Test

  • Make sure Memberships are turned on and test access as a logged-out visitor, a member of the restricted group, and a regular user.

Summary

To allow access to only one CMS item behind Memberships in Webflow, restrict access to the entire CMS Collection and use a combination of (1) a custom field to flag the gated item and (2) redirects to mimic public access for the others. This workaround ensures only the selected item is protected while others remain reachable.

Rate this answer

Other Webflow Questions