• OK. So, I’m not sure what is going on here. I am trying to add a .htaccess file to protect my wp-admin directory, but every time I add it, I lose connectivity to the directory. When I type https://website.com/wp-admin, it just sits there and eventually times out. Here is a copy of my .htaccess and .htpasswd files:

    AuthName "Admin Panel"
    AuthUserFile "/path/to/.htpasswd/"
    AuthType Basic
    require valid-user

    username:encrypted_password

    I ahve verified that the paths are correct. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot Add .htaccess to WP-ADMIN’ is closed to new replies.