- How to Find the Latest Versions of PublishPress Plugins
- Changelogs for PublishPress Authors Pro
- Changelogs for PublishPress Capabilities Pro
- Changelogs for PublishPress Checklists Pro
- Changelogs for PublishPress Permissions Pro
- Changelogs for PublishPress Pro
- Changelogs for PublishPress Revisions Pro
- Changelogs for PublishPress Blocks
- Changelogs for Free PublishPress Plugins
- Changelogs for the PublishPress Theme
- The Admin Menus Screen
- Control Access to WooCommerce Admin Menus
- Control Access to Contact Form 7 Admin Menus
- Control Access to Yoast SEO Admin Menus
- Control Access to Elementor Admin Menus
- Control Access to Jetpack Admin Menus
- Control Access to WPForms Admin Menus
- Control Access to The Events Calendar Admin Menus
- Control Access to Gravity Forms Admin Menus
- Number of characters in title
- Numbers of words in content
- Number of categories
- Number of tags or taxonomy terms
- Number of characters in excerpt
- Number of internal links in content
- Number of external links in content
- All links use a valid format
- ALT Text for all images
- Featured image
- Latin characters in permalink
- Approved by a user in this role
- Yoast SEO tasks
- WooCommerce product tasks
- Featured image height and width
- Getting Started With Notifications in PublishPress
- Understanding the PublishPress Notification Options
- Get PublishPress Notifications by Email or Slack
- How to Customize PublishPress Notifications With Shortcodes
- How to Use Reminder Notifications
- Notify Me: How to Manually Add Yourself to Notifications
- The PublishPress Notifications Log
- Hooks and Filters for Notifications
- Troubleshooting Email Notifications in PublishPress
- Control Access to Custom Post Types
- Control Viewing Access to Specific Categories
- Allow Editing of Specific Pages
- Force Users to Create Posts in a Category or Parent Page
- Block Users from Seeing Non-Editable Posts
- Control Viewing Permissions for WordPress Content
- Control Editing Permissions for WordPress Content
- Block Access to WordPress Category and Tag Pages
- Configure Who Can See Other People's Posts
- Developer Information for Permission Groups
- PublishPress Permissions Database Tables and Settings
- pp_create_group()
- pp_delete_group()
- pp_get_group()
- pp_get_group_by_name()
- pp_get_metagroup
- pp_get_groups()
- pp_get_group_members()
- pp_get_groups_for_user()
- pp_add_group_user()
- pp_remove_group_user()
- pp_update_group_user()
- ppc_get_roles()
- ppc_assign_roles()
- ppc_get_exceptions()
- ppc_assign_exceptions()
- Does My Plugin Support PublishPress Revisions?
- A List of Some Plugins Supported by PublishPress Revisions
- PublishPress Revisions Pro and The Events Calendar
- PublishPress Revisions Pro and WooCommerce
- PublishPress Revisions Pro and Advanced Custom Fields
- PublishPress Revisions Pro and Beaver Builder
- PublishPress Revisions Pro and WPML
- PublishPress Revisions Pro and Custom Post Type UI
- PublishPress Revisions Pro and Yoast SEO
- PublishPress Revisions Pro and the PODS Framework
- Submit and Moderate Revisions with the Divi Theme
- Create Revisions Using an API
- Advanced Accordion Block
- Advanced Button Block
- Advanced Icon Block
- Advanced Image Block
- Advanced List Block
- Advanced Table Block
- Advanced Tabs Block
- Advanced Video Block
- Columns Manager Block
- Contact Form Block
- Count Up Block
- Images Slider Block
- Info Box Block
- Login / Register Form Block
- Map Block
- Newsletter Block
- Recent Posts Block
- Search Bar Block
- Social Links Block
- Summary Block
- Testimonial Block
- Woo Products Block
- A WordPress Editorial Workflow for Writing, Reviewing and Publishing
- A WordPress Workflow for Editing and Reviewing
- Create a Workflow for University Departments in WordPress with PublishPress
- Create a Multi-Step Workflow in WordPress
- How to Create a Publishing Workflow for Authors in WordPress
- How to Get 2 People to Approve Content in WordPress
- How to Allow WordPress Admin Area Access for WooCommerce Users
- How to Manage Permissions for WooCommerce Products
- Allow WooCommerce Users to Edit Only One Product
- How to Approve and Schedule Changes to WooCommerce Products
- WooCommerce Users Can Edit Products Only in Some Categories
- How Create WooCommerce Users Who Can Only View and Edit Products
- How to Create and Schedule Revisions for WooCommerce Products
- How to Control Who Can Duplicate WooCommerce Products
- Create WooCommerce Users Who Can Only View Reports
- How to Control Who Can Access WooCommerce Coupons
- How to Create WooCommerce Users Who Can Only View and Edit Orders
- How to Manage Permissions for WooCommerce Orders
- How to Control Permissions for WooCommerce Refunds
- How to Create Checklists with WooCommerce
- activate_plugins
- add_users
- create_users
- delete_others_pages
- delete_others_posts
- delete_pages
- delete_posts
- delete_plugins
- delete_private_pages
- delete_private_posts
- delete_published_pages
- delete_published_posts
- delete_themes
- delete_users
- edit_dashboard
- edit_others_pages
- edit_others_posts
- edit_pages
- edit_plugins
- edit_posts
- edit_private_pages
- edit_private_posts
- edit_published_pages
- edit_published_posts
- edit_theme_options
- edit_themes
- edit_users
- erase_others_personal_data
- export
- export_others_personal_data
- import
- install_plugins
- install_themes
- list_users
- manage_categories
- manage_links
- manage_options
- manage_privacy_options
- moderate_comments
- promote_users
- read
- read_private_pages
- read_private_posts
- remove_users
- switch_themes
- unfiltered_html
- unfiltered_upload
- update_core
- update_plugins
- update_themes
- upload_files
Set All Your WordPress Posts and Pages to Private
- Home
- How-to Guides
- Reading
- Set All Your WordPress Posts and Pages to Private
A PublishPress user asked us an interesting question: they wanted to know if it was possible to make their entire site private.
WordPress has a feature called “private pages” and “private posts”. This content is published, but it is not publicly visible. This guide has more details on private content in WordPress.
I'm going to show you how to configure your whole site so that all the content is marked as “private”. This will happen automatically and will be locked, so there's no chance that the public will be able to see your content.
Setting all posts and pages to Private
First, install these two plugins:
Now we're going to configure the Permissions plugin:
- Go to Permissions > Settings in your WordPress admin menu.
- Click the “Editing” tab.
- Change the default visibility for new content to “Private”.
- You can also check the “Lock” box which means that users will not be able to change the visibility.

Now you can test out this visibility setting:
- Create a new post.
- There will be a “Visibility” box in the right sidebar. This is part of the Permissions plugin.
- Click “Publish” when your post is ready.

- After you have published your post, come back to the editing screen.
- The “Visiblity” box will be set to “Private” and there will be this message: “Visibility is locked by default settings.”

- When you go to the main “Posts” screen, your new post will be marked as “Private.”

By default, all new content will be private. You can also edit any existing content and change its status also.
- On the main “Posts” or “Pages” screen, select the content you want to update.
- Under “Bulk Actions”, click “Edit”.

- In the “Status” box, choose “Private”.
- Click “Update”.

Control access to Private content
By default, only Administrators and Editors can see “private” posts. However, with the PublishPress Capabilities plugin, you can give access to other groups too.
- Go to “Capabilities” in your WordPress admin menu.
- Use the “Select Role to View /Edit” box and choose the role you want to give access to:

- In the center of the screen, in the “Reading” area, you can give this role access to your Private content:

What will site visitors see?
If someone comes to your site, they will see no content at all. They may see some widgets or other items, but all content will be hidden.
Even if the visitor knows the URL of a Post or Page, all they will see is a “Page Not Found” message.

You can take a few approaches to redesigning this message.
You can use the Teaser feature in PublishPress Permissions, or redirect visitors to a URL.
Or you can redesign this landing page. For example, you can place a login box on link on your homepage.
- Go to Permissions > Settings in your WordPress admin menu.
- Click the “Editing” tab.
- Uncheck the “Lock” box quickly.
- Create a single Page called “Welcome to My Private Site”. I've added a simple link to the login form, but you could add a login form using a plugin like Advanced Gutenberg.
- Make sure this page is public.

- Go to Settings > Reading in your WordPress admin menu.
- Set your homepage to your new Page.
