Title: wp-admin/pass
Last modified: October 8, 2021

---

# wp-admin/pass

 *  [glaukabazi](https://wordpress.org/support/users/glaukabazi/)
 * (@glaukabazi)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/)
 * Dear guys,
 * I am trying to add a password to my wp-admin directory. But when i do so either
   the /wp-admin crashes or when it works it asks for the password in the main page
   aswell. So whenever a visitor visits he has to see the request.
 * Do you have any idea how can i do this properly and how do i fix this?
 * Thank you so much in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-admin-pass%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951543)
 * >> am trying to add a password to my wp-admin directory. <<
 * Why? What are you trying to accomplish?
 *  Thread Starter [glaukabazi](https://wordpress.org/support/users/glaukabazi/)
 * (@glaukabazi)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951555)
 * I have made the site for a client. He has sent it for ACUNETIX SECURITY test 
   which showed an alert which requires
 * Add server-side password protection (such as BasicAuth) to the /wp-admin/ directory.
 * I have done this what this links suggests
    [https://www.wpbeginner.com/wp-tutorials/how-to-password-protect-your-wordpress-admin-wp-admin-directory/](https://www.wpbeginner.com/wp-tutorials/how-to-password-protect-your-wordpress-admin-wp-admin-directory/)
 * But this configuration requires the visitor to put the username and password 
   aswell.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951567)
 * There’s no need for that at all. A decent (strong) password and [two factor auth](https://wordpress.org/plugins/search/two+factor)
   is all that’s needed to properly secure a WP login. (I use either WordFence’s
   2FA or the plugin “google authenticator”.)
 *  Thread Starter [glaukabazi](https://wordpress.org/support/users/glaukabazi/)
 * (@glaukabazi)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951576)
 * Did both of them? But the client doesn’t accept those unless it is done the acunetix
   way?
    Sorry if this sounds rude? Does this mean you don’t have any idea how i
   can do this?
 * Thank you very much for your time dear Sir.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951589)
 * >> both of them <<
 * No, one or the other. As I install WordFence on most sites, I use it’s 2FA feature.
 * As a dev, it’s part of your responsibility to educate your client. Anyhow, blocking
   wp-admin via htpasswd is going to create all sorts of issues. If you really, 
   really need to do this, then there are [other tutorials](https://duckduckgo.com/?q=add+password+to+wp-admin).
 * And, no, it doesn’t seem rude at all. 🙂
    -  This reply was modified 4 years, 8 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [glaukabazi](https://wordpress.org/support/users/glaukabazi/)
 * (@glaukabazi)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951592)
 * I am sorry once again if that came as rude from my side. Wasn’t my intention.
   I’ve tried explaining to him in every way but he doesn’t want to understand.
 * Thank you so much for your time.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951598)
 * >> he doesn’t want to understand <<
 * Been there. Done that. 🙂 I’m so glad I don’t do that for a living any more.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘wp-admin/pass’ is closed to new replies.

## Tags

 * [password](https://wordpress.org/support/topic-tag/password/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/wp-admin-pass/#post-14951598)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
