Skip Navigation

[Resolved] Restrict access to all site except home page

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Pat 6 years, 3 months ago.

Author
Posts
#1121344

Pat

Hello,

I need to create a site with only home page allowed to everybody (including the login form). All other pages (posts, categories, postypes ...) should be private and limited to logged users.
Can I do this easily with Access?
Regards
Pat

#1121348

You can uncheck all read capabilities of all roles (but admin) for all contents - then, create a Custom Post Group, and there, give read access to all who should see the homepage.

That will hide all content with the general errors set for the post types, and let the custom group page free for all roles.
https://toolset.com/documentation/user-guides/setting-access-control/
https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/restricting-read-access-specific-pages-posts-members/

Steps:
- Toolset > Access > Custom Post Types (remove read access)
- Toolset > Access > Post Groups > New (add a new group with the homepage only and add read access for all)

#1126822

Pat

Hi Beda,

Thanks for your support.
I'm OK with this.
Regards
Pat