: Is there a difference between an empty robots.txt and no robots.txt at all? On a webserver I now have to admnistrate I noticed that the robots.txt is empty. I wondered if there's a difference
On a webserver I now have to admnistrate I noticed that the robots.txt is empty. I wondered if there's a difference between an empty robots.txt and no file at all.
Do crawlers behave differently in these two cases? So, is it safe to just delete an empty robots.txt?
More posts by @Kristi941
2 Comments
Sorted by latest first Latest Oldest Best
No. There's no difference.
You'd get 404 errors in your server log, and if you're subscribed to things like Google Web Master tools it might tell you you've not got one, but in terms of the crawler robot behavior -- they are the same for any robot you care about.
Do crawlers behave differently in these two cases?
A robots.txt file that's empty is really no different from one that's not found, both do not disallow crawling.
You might however receive lots of 404 errors in your server logs when crawlers request the robots.txt file, as indicated in this question here.
So, is it safe to just delete an empty robots.txt?
Yes, with the above caveat.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.