I'm about to deploy a website for testing and I want to let all the indexing bots to not index my site during this phase.
According to Google Webmasters Help section apparently you only need the following in your
But according to http://www.robotstxt.org/faq/prevent.html and other sources you have to write it like this:
User-agent: * Disallow: /
I'm afraid that the bots still will index my site if I leave the
User-agent: * part out.
So which is the proper way to do it?