Setting Up Password Protection
To create a password protected site, go to Pages in your WordPress dashboard.
Select the page you want to protect, and in the Page Attributes section, find Visibility.
Change it to Password Protected and set your desired password.
Save Changes
Don’t forget to click Update to save your changes!