One Site as a part of Multisite to be hidden (Un-published) from Public?

Lets say i have some sub-domains under one single Multi-site:

How do i HIDE the one site only, from the public access.

(or) Put the site as something like Unpublished (or) dark site?

** HIDE means prevent the "Public" users to see the site. (or) Something like, only the LOGGED IN users via wp-admin (a.k.a) Admins can see the Site and Pages.

Any plugin or approach please?

Thank you so much.

Topic content-restriction offline user-access multisite Wordpress

Category Web


There are a few options for this:

Premium Plugins:

Open Source Plugins:

Custom:

  • If the site uses a unique theme or child theme, one way is to create an empty file called index.html and store it in the root directory of your sub site. That should work because index.html will be displayed in place of index.php, which is what WordPress uses.

After seeing your clarification in the original question:

Every page inside the subsite you're trying to "hide" would need to be set so that only users with the permission level of "Admin" can see the page.

Anyone will be able to see that the page exists. Users are not logged in or are logged in but don't have the correct permission level that land on the restricted pages will receive a "This page is restricted" notification, where users that are logged in and have the appropriate permission level will be able to see all content within the page.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.