• Resolved ateale

    (@ateale)


    Hey Guys

    I am trying to password protect a page.

    Once I publish the page and visit it on another machine I am UNABLE to successfully view the contents of the password protected page.

    I KNOW THE PASSWORD IS CORRECT.

    I searched this topic and it seems many others have had this issue a few months back, but no one has discussed whether they have fixed it or not.

    Any help would be brilliant!

    Cheers

    Adam

Viewing 15 replies - 1 through 15 (of 23 total)
  • sarmadhassan

    (@sarmadhassan)

    Iam facing the same problem as well.. i ve googled all the support forums for wordpress including the official one.. couldnt get any convincing answer. Please help us!

    sarmadhassan

    (@sarmadhassan)

    okay.. i got a solution to this.. although not very decent looking but it worked for me..

    change the line in wp-pass.php

    from

    wp_safe_redirect(wp_get_referer());

    to

    wp_safe_redirect(wp_get_referer() . '?');

    solenyi

    (@solenyi)

    You got it!!!!

    You saved me thank you!!!

    You soluted this:

    https://www.ads-software.com/support/topic/144829?replies=5#post-653406

    GREAT! THANKS!!!

    Thread Starter ateale

    (@ateale)

    sarmadhassan you are AWESOME!

    thanks a lot mate!

    I’m going to try sarmadhassan’s solution but I just wanted to say that I have been having issues and hard time finding a fix to this problem. I’ll post again to let you know if this helped. BRB.

    Sorry. This isn’t working for me at all. I enter my password and it just refreshes with the same message and password field.

    I’ve cleared my cookies and whatnot, even tried this over and over in the past week to no avail.

    Any help would be greatly appreciated. Thank you.

    I tried this solution again and it seems to be working. I’ve been having this issue work and not work at different times. It’s quite frustrating because other people rely on coming back to password protected pages and then not being able to access them. Thank you once again.

    i faced the same problem with the password protection and tried sarmadhassan solution and it works FINE!!!!!!!!!!!!!!!!!!!!

    thaaaaaaaaaaaaaannnnnk you so much. hope that it will still work in the future.

    but for now you made my day.

    *Sigh* His solution didn’t work for me and I’m still having the entering pw and “nothing happening” problem.

    Thanks sarmadhassan when entering password on my test page it was just going to ‘wp-pass.php’ and a blank page! now works, good stuff.

    Well this does not work at all because it does not matter what you enter in the pw field, your page/post gets displayed !!

    Is that not a fact ? It happens on my site anyways …

    regards,
    Ari

    It works for me.
    Thanks.

    Just upgraded to 2.5.1 and this VERY ugly issue reappeared. I reset the wp-pass.php file again and it seemed to work the first time, but now it’s back to how it was.

    Can anyone help?

    Thanks
    Dominic

    danicasati, how could this work ? all it does is add the questionmark symbol to your url that is:

    https://myurl/index.php/protected-page/

    would become if any password is entered

    https://myurl/index.php/protected-page/?

    and your protected page will be displayed even though the pass entered is not the correct one.

    Could you try using an incorrect pass next time you log onto your pages to see if I’m right.

    regards,
    Ari

    I installed 2.5.1 and page passwords are not working. They worked in an earlier version. I tried the fix above and it does just add a ? to the URL. As of today is there any fix available. Seems like this should just work.

    I can enter a password in the page form. Then when I access the page I get prompted for the password. After entering the password it just displays the password prompt page again.

    My index.php file is in /www and wp is in www/wp
    It has the following which is just to handle the wp directory being under the www directory.

    #<?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp/wp-blog-header.php’);
    ?>

    There is an .htaccess file in /www that has the #BEGIN WordPress #END WordPress in it.

    Any help would be appreciated. thanks larry

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Page Password not working’ is closed to new replies.