When a site is in development it’s common to want only select people to be able to see it, while not allowing the site to be publicly accessible. Password protecting your site is simple and easy with WP Engine’s password protected feature. You can enabled password protection for either your production and/or staging site, allowing your team to develop and review your site on WP Engine before going live .
How to password protect an install:
- Navigate to the Utilities page for the install you’d like to password protect.
- In the “Password Protected” section, check the box for the environment you’d like to protect: Production, Staging, or both.
- If you’d like to set a different password than the system default, click the edit button and enter a password of your choice. Passwords must be at least 6 characters long.
- Click Save.
- Users who navigate to your site will need to use the username and password listed on the Utilities page.
- To disable password protection, simply uncheck the boxes and click save.
About multiple login prompts
Some users may receive more than one password protect prompt, and will need to enter the username and password more than one time in order to view the site while password protected mode is enabled. This occurs when you have content or assets pointed at more than one domain. For example, if you have images at mysite.wpengine.com/image.jpg domain as well as www.mysite.com/image2.jpg. To avoid this, ensure your site assets paths only point to a single domain, or uses relative paths in your site’s code.