Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Gretchen104

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

After trying different methods I came to the conclusion that you can never be really sure if a search engine respects robots.txt or no-index or anything the like.

So if you really want to be sure your test site is not indexed, I's recommend using password protection through a .htaccess / .htpasswd file combi similar to the following code snippet:

AuthType Basic
AuthName "Password Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user


The .htpasswd file should then contain something like this:

myusename:al9sjdl98kajdaklsjdalkdj


(username followed by md5 encrypted password)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme