Password Protected Pages In WordPress
-
Please assist with complete correct configuration settings for the LiteSpeed plugin with password-protected pages in WordPress.
Love the product it’s really fantastic but I must be doing something wrong can someone please help?
The first couple of times I enter the password on the front end the page content shows correctly as expected.
Then suddenly when I try again at a later stage to enter the password and press submit nothing happens.
Only after I purge the cache in the backend then it works correctly and shows the page content, then after a while, the problem starts again.
Pretty sure it’s cache related but not sure what the correct configuration must be so that password-protected pages can function correctly on the frontend with the LiteSpeed plugin for WordPress sites.
*******************
I now added the following to the .htaccess file
RewriteRule .* – [E=Cache-Vary:YOUR_COOKIE_NAME]
*******************Do not know if this was the correct fix? It does seem if this fixed the problem, however, the site seems to load very slow sometimes that makes me think it is not cached.
****** So, what I would like to achieve:
– To properly cache the password-protected pages and the page content;
– For the password-protected pages to function correctly so that when you enter the password the content displays immediately on the first correct password entry ******Anyone’s help will be greatly appreciated.
Have a great day! Thanking you in advance for any help! ??
The page I need help with: [log in to see the link]
- The topic ‘Password Protected Pages In WordPress’ is closed to new replies.