Hey @joynerenterprises,
I wouldn’t recommend setting the website to no index, as it would also affect the static site (because of the meta tag).
Instead, use Basic Auth (a username + password prompt on the server) to block all unauthenticated requests to your WordPress website.
Once done, add these credentials in Simply Static -> Settings -> Advanced to whitelist requests from the plugin.
Cheers,
Patrick
Thanks, I’ll try it. Out of curiosity, would using an under construction plugin work as well, as long as it’s off when updating the static pages?
Hey @joynerenterprises,
theoretically yes, but there is one thing to keep in mind: attachments.
Basic Auth will also protect your uploads directory, so Google can only index images from the static site but not from the WP website.
I’m not sure if these under construction plugins do that as well!
Cheers,
Patrick