To make a single page private in an otherwise public site, simply edit the Visibility attribute of the page, located within the Publish block on the top right when editing a page.
Making a page private will:
- Remove the page from the Navigation
- Remove the page from any WordPress Menus
- Remove the page from your site’s A-Z Template
- Require a NetID SSO Login before viewing
Having a private page will limit the access to that page. However, any images, documents, or other media on the page will not be private unless each individual file is set to private using our private uploads feature. This feature is appropriate for sites that wish to limit access to certain content, but do not require things to be secure in a more rigorous sense.
Keep in mind that these pages do not meet legal standards for security.
Linking to Private Pages
Private pages are removed from all navigation and menus. If you wish to link to them somewhere on your site, you will need to either create links to these pages manually with copy and paste or create a page having the List Private Pages template.
List Private Pages Template
This template displays all the private child pages of the current page.
One way to use this template effectively:
- Create a new page; you can call it “My Private Pages”
- On the right under Page Attributes, change ‘Template‘ to ‘List Private Pages‘
- Now go to Pages > All Pages
- Select a number of pages you wish to be made private
- Use the Bulk Actions menu item, edit the pages and change ‘Parent‘ to ‘My Private Pages‘
- Go to Pages and then to the page “My Private Pages”
- Select View Page, and then copy the web address from the browser
- Log back into the dashboard, and go to Appearance > Menus
- Select the ‘Footer‘ menu
- Add a Custom Link to your menu
- Paste the URL to “My Private Pages” into the field, and name it “Intranet” or “Staff Only”
- Save the menu
Now, you’ll have a small intranet section of your larger site, conveniently linked in the footer of every page.