In the case your site is not ready to be published, or if you create an internal web site or for any other reason you don’t want your site to be indexed, you just need to login to the admin area,
- Click on settings,
- Then reading settings,
- Then check the box on discourage search engines from indexing your site,
- and then just click save.
but don’t forget to uncheck this box when your site gets ready to be published.