Once a client site came to me which was not getting crawled in search engine. My team couldn't figure it out and lastly I needed to take a look at it. I get to know that developer had blocked the root directory in robots file
Have you ever faced such silly mistake? Please share