You can password protect a page on WordPress by following these steps:
- Log in to your WordPress dashboard.
- Go to the "Pages" section and select the page you want to password protect.
- In the "Publish" section on the right, click on the "Edit" link next to "Visibility".
- Select the "Password protected" option and enter a password in the provided field.
- Click on the "OK" button and then click on the "Update" button to save your changes.
Once the page is password protected, anyone trying to access the page will be prompted to enter the password before they can view the content.
It's worth noting that password protecting a page will not hide the page from the site's navigation or archive pages, it will only require a password to view the content of the page.
Additionally, you can use a plugin like "Password Protected" which allows you to password protect your pages, posts, categories, tags, and custom post types. It also allows you to password protect your entire site with a single password.
It's important to keep in mind that password protecting a page will not provide a high level of security and should not be used to protect sensitive information, it's recommended to use SSL/TLS encryption and other security measures to protect your site.