• I have some files in a folder which must me password protected for members only. So I used the method .htaccess and .htpasswd to protect those folders. I copied the usernames and those encrypted passwords from my database and add like. username:password in .htpasswd file.

    This doesn’t works. Doesn’t WordPress use MD5 encryption method to protect passwords? 🙁

    Please help..

Viewing 1 replies (of 1 total)
  • The Apache doc says

    htpasswd encrypts passwords using either a version of MD5
    modified for Apache
    , or the system’s crypt() routine. Files
    managed by htpasswd may contain both types of passwords;
    some user records may have MD5-encrypted passwords while
    others in the same file may have passwords encrypted with
    crypt().

    Thus your encrypted WP password is not gonna work.
    Here’s an online form I found to encrypt for .htpasswd
    http://www.sherylcanter.com/encrypt.php

Viewing 1 replies (of 1 total)
  • The topic ‘Password protecting a directory using the same WordPress logins – ERROR’ is closed to new replies.