Forums

password-protect post not working (10 posts)

  1. duncan7
    Member
    Posted 9 months ago #

    I'm running 3.2.1 on my own domain, with the WP files in a custom directory. I'd like to password-protect a post, so I entered a simple password under "visibility" when I published it. The post shows up as password protected, but entering the password doesn't reveal it. Instead, the page just reloads with the enter-password box at the bottom. Is this related to the custom directory, maybe? (This method of password protection doesn't use htpasswd, does it?)

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 9 months ago #

    Is this related to the custom directory, maybe? (This method of password protection doesn't use htpasswd, does it?)

    No and no :) Works fine for me on a test site. Try switching your theme to TwentyEleven and see if it works.

  3. duncan7
    Member
    Posted 8 months ago #

    My theme is Twentyeleven (1.2), so that's not it. I've established that it's not just this one post (i.e. I've created several that behave the same way) and I've tried it with multiple browsers (chrome and FF). Any other ideas how I could troubleshoot this?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Site url?

    I've also not come across any issues with password protecting posts when WP is installed in a custom folder (and I've done custom installs oodles of times).

  5. duncan7
    Member
    Posted 8 months ago #

  6. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    That is not an original copy of the Twenty Eleven theme. Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Upload a fresh copy of Twenty Eleven and create a child theme for your customisations.

  7. duncan7
    Member
    Posted 8 months ago #

    OK, I did this- Created a new dir for the child theme of 2011, migrated the one thing I'd changed (the #access style) to a new style.css below an @import statement, cached a copy of my custom footer.php in the child dir, zipped up the original /twentyeleven, then uploaded a fresh copy of twentyeleven.

    Then I switched the theme to twentyeleven. The menubar went back to black.

    Tried to open the protected post- same thing, entering a password in the Password: box and hitting submit just seems to reload the page.

    Nothing in the apache access or error logs related to this page, as far as I can tell.

  8. jssox
    Member
    Posted 5 months ago #

    Did you ever get this resolved? I am having the same problem.

  9. jssox
    Member
    Posted 5 months ago #

    I figured out my issue via this thread: http://wordpress.org/support/topic/password-protected-but-no-access-to-page-1?replies=28

    basically I made the site address and wordpress address the same (my new domain that I wanted to show in the address bar instead of my subdomain.)

  10. duncan7
    Member
    Posted 1 month ago #

    Yep, I finally figured it out, too- I had the following in General Settings

    WordPress Address (URL) http://mydomain.com/vvp
    Site Address (URL) http://www.mydomain.com

    putting a www in the WordPress Address seems to have made the post-level passwords work.

Reply

You must log in to post.

About this Topic