How to Password-Protect Your Entire WordPress Site with .htaccess
How to password-protect your entire WordPress site with .htaccess Sometimes the whole site has to be hidden from prying eyes, for example during development or on a staging server. The quickest and most reliable way is HTTP Basic Authentication with .htpasswd and .htaccess: the server asks for a login before WordPress even starts, and no…