• I’ve been attempting to incorporate password protected pages in order to store hosted client photos on my website in a private environment available only to them, however I’ve encountered trouble when attempting to use wordpress’ password protected options.

    I’ve created and populated a page and previewed it and it’s working fine. However, when I manipulate the ‘visibility’ options from ‘public’ to ‘password protected’ + a password, things begin to break down.

    If I navigate to the page, I’m greeted with a prompt, much as I’d expect, that reads “This post is password protected. To view it please enter your password below:”
    I input the password, hit submit, and I get nowhere. It simply reloads the page in the same manner, asking for the password. It makes no difference if I input no password, the wrong password, or the proper one – same result – page reloads, prompts for password.

    I’ve tried reverting back to public visibility and trying again with a different password and I still encounter the same issue. I’ve tried creating test pages and test posts to experiment with it, and they are all misbehaving in the same manner. I’ve tried disabling my two running plugins (Google Analytics and Shockingly Simple Favicon) and the issue still persists.

    I’ve tried in various browsers (my default is chrome), I’ve ensured I’m attempting it while not logged in to my admin by browsing via incognito mode. Still the same issue.

    I’ve tried exploring other threads stating the same issue, but failed to come across a solution that helps.

    I’ve created a sample test page to demonstrate the issue:
    https://www.daltonink.ca/password-protected-test/

    the password for that test page is set to ‘secret’
    screenshot of the password settings: https://i.imgur.com/32zFZ.jpg

Viewing 2 replies - 1 through 2 (of 2 total)
  • did you give up? I am having this problem.

    Thread Starter daltron

    (@daltron)

    After many hours of banging my head on the wall I finally solved it. The issue was that my ‘WordPress address (URL)’ and ‘Site address (URL)’ under the general settings were not identical. originally I was piggybacking off a friends hosting till I had my up and running, so it was daltonink.blahblah.ca/blahblahblaah

    When I had my domain registered I had updated the ‘Site address’ but not the ‘wordpress address’, which was causing a security conflict when it was trying to create the cookie to grant access. Soon as I made the two addy’s match in the settings, presto, she worked.

    Hopefully that’s of some help to you, sir – I can empathize with how frustrating it was.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Password protected page not working properly’ is closed to new replies.