If you don’t want your site to be indexed by search engine like Google, create a file called robots.txt with the following 2 lines and put it in your webroot directory.
User-agent: * Disallow: /
Open http://<your_domain>/robots.txt in browser to check if the above file is shown.
Done =)
Reference: Webmaster Tools Help – Removing your entire website using a robots.txt file

That’s it. So easy to do. But I guess if I’m at the point of doing it, I will be having a hard time as I’m still learning wordpress. Still in the process of creating a domain name. And if given a chance to learn wordpress, I would do so without any hesitation.
LikeLike
Usually we don’t want our testing website to be indexed by search engines. That’s the point of doing it. =)
LikeLike