Support » Plugin: WordPress Password Protect Page - PPWP Plugin » Password takes me back to the homepage

  • Resolved divaldo100

    (@divaldo100)


    When entering my password on a password protected page, it is accepted as being correct, but wordpress takes me back to my site’s homepage rather than the password protected one.

    I can then browse to the password protected page and get access to it.

    Why is it redirecting me to the homepage first?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @divaldo100,

    Thanks for reaching out to us last night.

    It looks like a conflict that somehow our PPWP plugin cannot detect the referrer URL properly. That’s why it redirects you to your homepage first.

    Can you please let us know the page URL (and its password) where the issue happens?

    PS. You may want to drop us an email to hello(at)preventdirectaccess.com with the information so that we can assist you better and faster.

    Just an update, as mentioned to @divaldo100, the issue happens due to your hosting server always returns your homepage as the page referrer (origin), which is incorrect.

    Our team has gone ahead and improved our plugin’s compatibility in such cases.

    Can you please:
    1. update our Free to the latest version – 1.7.0.1
    2. add the following code snippet to the bottom of your (child) theme functions.php file

    add_filter( 'ppw_use_callback_url', '__return_true' );

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.