I understand that this is a rather old question and there are pretty good answers to it. But here are my two cents to complete the picture.
According to the official documentation , there are four ways in which you can provide full access for robots to access your site.
Clean:
Specify a global match to the forbidden segment, as mentioned by @unor. So your /robot.txt looks like this.
User-agent: * Disallow:
Hack:
Create the /robot.txt file /robot.txt no content. Which by default will allow everything for all types of Bots .
I do not care
Do not create /robot.txt at all. Which should give exactly the same results as the two above.
Ugly
From the documentation for robots for meta tags, you can use the following meta tag on all your pages on your site to tell Bots that these pages should not be indexed.
<META NAME="ROBOTS" CONTENT="NOINDEX">
For this to apply to your entire site, you will need to add this meta tag to all of your pages. And this tag should be strictly placed under your HEAD on the page. Read more about this meta tag here .
Raja Anbazhagan Dec 25 '17 at 6:58 2017-12-25 06:58
source share