WordPress has a built-in password protection option for pages and posts. When enabled, visitors will see a prompt asking for a password before they can view the content. This is managed entirely within the WordPress admin area — no plugin is needed.
Steps #
- Log in to WordPress Admin — go to yourschooldomain.com/wp-admin and sign in.
- Open the page — navigate to Pages in the left menu, hover over the page you want to protect, and click Edit.
- Find the Publish panel — look for the Publish meta box in the top-right area of the screen.
- Click ‘Edit’ next to Visibility — you will see Visibility: Public. Click the Edit link next to it.
- Select ‘Password protected’ — a set of radio buttons will appear: Public, Password protected, and Private. Choose Password protected.
- Enter a password — type your chosen password into the field that appears. Keep this simple and memorable — you’ll share it with whoever needs access.
- Click ‘OK’ — this confirms the visibility setting.
- Update/Publish the page — click the Update button (or Publish if it’s a new page) to save the change.
What the Visitor Sees #
When a visitor navigates to the protected page, WordPress replaces the content with a simple password prompt. Once they enter the correct password, the page content is displayed. WordPress stores the password in a browser cookie, so the visitor won’t be prompted again for that session.
Notes & Tips #
- The password is stored in plain text in the database — don’t reuse a sensitive password.
- The page title may still be visible in menus (if previously added) and search results even when password protected.
- You can change or remove the password at any time by repeating the steps above and choosing a new password or switching back to Public.
- This method protects individual pages only — not entire sections of the site. .
- The same process works for Posts as well as Pages.
