Password Protect and Custom Code for publishing

Hi. In my project, I turned on the password protect and added a “no index” meta tag for staging site. Every time I want to publish the contents to production I need to turn off the password protect and remove the “no index” meta tag. I’m wondering if it is possible to deploy the contents from staging to production without turning on and off the the password protect and without removing and adding the “no index” meta tag? I will appreciate any help.


Hi Jared,

I believe it’s possible to password-protect staging only, but only on Enterprise plans.

It sounds like what you’re wanting is to toggle off subdomain indexing, which you’ll find on the SEO tab. That won’t password protect it but it will prevent indexing of staging through robots.txt.