Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not working in Word Press #172

Open
mokelley31 opened this issue Jul 30, 2020 · 1 comment
Open

Plugin not working in Word Press #172

mokelley31 opened this issue Jul 30, 2020 · 1 comment
Labels

Comments

@mokelley31
Copy link

I am using the password protected plugin in wordpress, however it is not working. It is almost like it is not reading the password when I save it.
The steps I took to enable:

  1. Checked enable password
  2. Typed password
  3. Clicked save.
  4. Get a message saying password saved.
    The steps and outcome to testing:
  5. Went to website
  6. Get promoted for password
  7. Entered password
  8. The page reloads to the same password page with no error
  9. Type a random password
  10. Website opens fine

Any advice?

@ghost
Copy link

ghost commented Sep 18, 2020

After thorough testing, seems that this behaviour happens, at least, with LiteSpeed Cache plugin activated.

It seems a cache issue that has been already reported here:

https://wordpress.org/support/topic/litespeed-cache-password-protected/

Adding the code to your child theme functions.php file provided by @rxnlabs DOES NOT SOLVE the issue.

Until now, there are two changes in customization that you have to modify in order "Password Protected" plugin to work fine with "LiteSpeed Cache":

  1. v3.4.2: Cache -> Excludes -> Do Not Cache Cookies -> bid_1_password_protected_auth

  2. v3.4.2: Cache -> Excludes -> Do Not Cache Query Strings -> password-protected

In my case, these settings solve the issue.

@mokelley31 can you please let us know if you have a cache plugin installed in your WordPress site? Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants