6

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?

10

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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