Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 9 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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