Restrict access to a page or section of your website
Limit access to a whole page or a section to logged-in people, active members or certain groups.
Available with the Essentials plan and higher. Access by groups is available with the Plus plan and higher.
You can reserve a whole page or a single section of a page for people logged in to your website, for example your members or the participants of an event. With the Plus plan and higher, you can also limit access to certain groups, such as your board of directors.
Your visitors must be able to log in to your website. See Allow members and non-members to log in to your website.
In this article
- Page or zone: what changes
- Reserve a whole page
- Reserve a section of a page
- Limit access to certain groups
Page or zone: what changes
The two settings do not check the same thing:
- Reserved page: it opens for anyone who is logged in, whatever their status: active or inactive member, donor, participant.
- Reserved zone: it is displayed only to members with the Active status. For an inactive member or a logged-in contact who is not a member, the zone is hidden, with no message; the rest of the page is displayed normally.
An inactive member can still log in, for example to renew their membership or update their profile. See Member status.
To reserve content for members in good standing, place it in a zone reserved for logged-in people or limit access to certain groups.
Reserve a whole page
- In Website, open your website, then the Pages tile.
- Open the page, then the Configuration tab.
- In the Access section, check Restrict page access to connected people.
- Save.
The page no longer appears in the menu for visitors who are not logged in. If someone who is not logged in opens its address, they are taken to the login page; once logged in, they can access the page.
The member's status is not checked: a logged-in inactive member can also access the page. To reserve content for active members, use a reserved zone.
Reserve a section of a page
The rest of the page stays visible to everyone; only the chosen zone is reserved.
Only members with the Active status see a zone reserved for logged-in people.
- Open the page, then click the zone to reserve.
- In the Visibility section, check Limit access to this area depending on whether the user is logged in or not.
- Choose Limit access to logged in users, or the opposite: Limit access to users who are not logged in.
- Save.
Combine two zones on the same page: one reserved for logged-in people with the exclusive content, and one reserved for people who are not logged in that presents the benefits of membership and a button to join.
Limit access to certain groups
With the Plus plan and higher, you can reserve a page or a zone for logged-in people who belong to certain custom groups.
- For a page: in the Configuration tab, after checking Restrict page access to connected people, check Limit access to this page based on the groups associated with the connected person, then choose the Associated groups.
- For a zone: in the zone's Visibility section, check Limit access according to user groups, then choose the Associated groups.
The groups taken into account for a logged-in person are those associated directly with their record, plus those of their current membership when it is validated or in its grace period. A membership that is pending payment, expired or pending validation does not give access to the groups linked to it.
A logged-in person who does not belong to these groups is redirected to the home page. A message tells them they do not have access to the page if the home page contains the System message, Login or Member Area module.
Each page is set separately. The detail page of an article, an event or a Data record does not inherit the restriction of the page that displays the list: apply the same restriction to both pages.
For more details on zone visibility settings, see Settings common to all modules.