Password protecting your development site using .htaccess / .htpasswd
You may want to restrict the development site from the search engine or from direct access. One of the popular ways of doing so is to use Apache2 Basic Authentication. Here we will be discussing on how to password protect your development site using Apache2 Basic Authentication which makes use of .htaccess & .htpasswd files. …