How to discourage search engines from indexing your entire site, post, pages, or post types while you work on it in the background.
Option #1: Hide your enter site
Go to “Setting” in your WordPress dashboard – click on “Reading” in the menu section.

Select the “Discourage search engines from indexing this site…” check box. Make sure to save changes.

Option #2: Hide individual pages and post or post type. How-to exclude a post, page or single post type from XML sitemaps?
Wondering how to exclude a URL from the SEOPress XML Sitemap? Nothing’s easier!
Just mark your page as noindex since the SEO metabox, Advanced tab, when editing an article.
Save changes and that’s it!
