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 page.
Protect child pages
Enabling this setting will require a user to log in to view the content on all child pages under the parent page. The parent does not need to be protected to enable this setting.
Note: The page count indicator only accounts for direct children, but all children will be protected.
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.
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.
- You are editing the front page. It is not possible to protect the front/home page of your site.
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.