php - how to htaccess pwd-protect a WP login? -


i have tried instructions in guide

http://titanfusion.net/how-to-protect-wp-login-php-using-htaccess-and-htpasswd/

i got "error, webserver misconfigured" setup.

i tried following on wp-admin directory (but if below coda had worked, wouldn't protect actual login page, wp-admin sites behind login form, think.

in .htaccess:

authtype basic authname "password required" authuserfile /www/passwords/password.file 

and used web generator actual password-file should ok.

anyone know of working guide how set up?

if .htaccess file in folder password.file can try this:

authuserfile password.file 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -