Protecting a Page
To protect a page on your site, open it in the WordPress editor. From there, open the right sidebar and make sure you have the “Page” option selected (title may differ based on post type: Page, Post, etc.) and scroll down to find the “NetID Protection” dropdown. There, you’ll find a few options:
Protect this page behind NetID
Enabling this setting will require a user to log in to view the content on the current page.
Protect child pages
Enabling this setting will require a user to log in to view the content on any child pages under the current page. You do not have to protect the current page to enable this setting.
Note: not all post types have child pages, so this setting won’t always appear. For example, blog posts do not have a hierarchy, so this option is not available.
Allow specific users
Define a list of NetIDs that are allowed to view the page. Do not include @wisc.edu, only the username. Separate each user with a comma.
Example: “jappleseed, asmith, bjohnson2”
Don’t See Page Settings?
If you are in the post editor and don’t see the options for NetID protection, there could be a couple things happening:
- The CALS NetID Protection plugin may not be active. If you need this functionality on your site and don’t currently have the plugin, contact CALS Web Services and we’ll activate it for you.
- The post type may not be configured as “protectable” by NetID. To make these settings available, go to Settings > NetID Protection > Protectable Post Types and make sure that the intended post type is checked.
Protecting All Posts With a Specific Post Type
It is possible to protect all posts in a given post type. For example, if you have a post type for internal documents that you don’t want accessible to the public, you could protect all of those. To protect a post type, go to Settings > NetID Protection > Protected Post Types and select the one you want to be protected.
What is a post type?
A post type defines the type of content a page will contain. Every site comes with two post types: Page and Post, but you may have more depending on your configuration.
Interested in using this plugin on your site?
Please contact us and we’ll help you get it activated and set up.