What the wrong with my robots.txt file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What the wrong with my robots.txt file?

I don't want my website to be visible on Google.So I was put this code in robots.txt file. But a few days ago my website become visible on Google. Here is the code of my robots.txt file below. User-agent: * Disallow: /cgi-bin/ Disallow: /private/ Disallow: /tmp/ Disallow: /index.html Disallow: /images Disallow: /about.html

8th Mar 2017, 12:23 PM
Retul
Retul - avatar
2 Answers
+ 3
User-agent: * Disallow: /
8th Mar 2017, 12:26 PM
Andre van Rensburg
Andre van Rensburg - avatar
+ 3
@Andre What do you mean? You should explain in detail, if you know what's the wrong.
8th Mar 2017, 1:04 PM
Retul
Retul - avatar