Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 7 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
add comment

Your Answer

 
discard

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.