WordPress - Training - How To Securing a Page

There are certain use cases for securing a WordPress page on your website. One of the most simple situations is when you'd like to secure the page to anyone who has an ePantherID. This is a quick guide to securing a single page or multiple pages on your WordPress site.

Step 1: Create a top-level page called "Secure"

Within the WordPress administration, select Pages > Add New. You will be presented with the default "Add New Page" screen. Name the page "Secure" which will make the permalink "secure" as well. Do not change where this page is in the site hierarchy - it must be on the top level. In addition, you'll also want to change the template to "Secure Page" in the template dropdown.

Once you're done, make sure to click the Publish button so that your page is saved.

Refer to the following screenshot for an example:

Secure Page Example

Step 2: Create the page you'd like to secure

Next, you can create the page you'd like to secure. It does not have to be a child of the "Secure" page we just created - it can exist anywhere on your site. The only thing you must do is ensure that the "Secure Page" template is selected for your new page.

Make any changes you need to make, and click Publish to publish that page.

Step 3: Test out the page

The best way to test if your secure page works is to open an Incognito or Private Browsing window in your browser. Usually, the keyboard shortcut to do this is Command + Shift + N (Mac) or Control + Shift + N (Windows). Then, visit the page that should be secured. If everything is setup right, you should be directed to the UWM 1Login screen. Complete the login with your ePantherID and password, and you should be successfully logged in and be able to view the page!



Keywords:Saits, sa its, Student Affairs IT Services,epantherid,login,shibboleth,1login,"locked down",website, restrict, wordpress   Doc ID:53157
Owner:Christopher M.Group:UW-Milwaukee Student Affairs IT
Created:2015-06-24 12:09 CDTUpdated:2018-03-15 10:04 CDT
Sites:UW-Milwaukee Student Affairs IT
Feedback:  0   0