Support » Fixing WordPress » .htpasswd and password protected pages

  • Hi,

    My backend is additionally protected with .htpasswd.
    So my .htaccess file looks like this:

    <Files wp-login.php>
    AuthType Digest
    AuthName "Protected Area"
    AuthDigestDomain /
    AuthUserFile /path/to/.htpasswd
    Require user testuser
    Satisfy All </Files>

    Now I have a problem with normal password protected pages, because since WordPress 3.4 this password form is using the wp-login.php with the parameter ?action=postpass.

    Is it possible only to protect the wp-login.php without the parameter postpass ?

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Password protect post/page: This is built into WordPress. Just put in a password when creating the post or page. Look on the upper right hand corned on Edit Page or Edit Post > visibility > pick Password Protect.
    For more info, review this codex: http://codex.wordpress.org/Using_Password_Protection

    Hi Tara,

    You didn’t understand my problem.
    I know how to protect a page with a password – thanks.

    I tried to rewrite the wp-login.php?action=postpass to login/action/postpass but the .htpasswd protection still works 🙁

    Any other suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htpasswd and password protected pages’ is closed to new replies.