Preventing your site from being indexed, the right way by Yoast https://yoast.com/prevent-site-being-indexed/