The Hub - Tools - Password Protection

Matthew Gabriel

Last Update há 6 meses

You have the option of enabling ‘Password Protection’ on any site. Unlike your WordPress credentials, which control access to a site’s admin areas, Password Protection controls access to an entire site, meaning only those who know the password can work on or view a site. It even hides a site from search engines.


This is useful when developing a new site that you don’t want yet publicly available on the web. You can share the username and password with clients or colleagues, but unauthorized admin users and the general public will not have access.


Password Protection uses Basic HTTP Authentication and does not use any WordPress usernames or login details.


Users who attempt to access any part of your site will see a login modal similar to the one in the image below. Only by entering the correct credentials will the user be allowed to proceed.

Click On/Off in the Password Protection row to enable/disable the feature.

Then use the toggle in the modal to turn site protection on or off.

Once active, create a username and password you wish to apply to this site. A strong password will be generated, or you can add a custom password into the field. When activating or deactivating your password, click Save to save your changes.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us