I have a site that I want to continue testing before I make public, so I don't want Google to start crawling the site as there will be a large amount of garbage content during testing.

I currently have authentication set up using htpasswd, will this prevent site crawlers or robots from crawling my site?

1 Answer 1


Yes, if the site requires authentication then robots will not be able to crawl it.

You can also specify a robots.txt file so that the entire site is disallowed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.