Recently we developed one WordPress based website for one of our friend, whose primary requirement was to have a website but not let that be indexed by Google, so it shouldn’t appear in Google Search.
WordPress allows us to disable the search engine indexing from the settings. This can be done as,
Login to your website’s dashboard.
From Left Sidebar, go to “Settings” -> “Readings” there you will see an option “Search Engine Visibility” option unchecked as below,
Now, as mentioned in above image, Check / Select the box in front of “Search engine visibility” to discourage / disable the search engines from indexing this website and click on “Save Changes”