Wordpress LScache Plugin: Password protect entire site
Last Updated on: Wed, 15 Apr 2026 00:00:02 Is it possible to password protect the whole site while using Litespeed Cache? I refer to all pages on a site, not just some pages. So I dont think I can use the Do not cache URIs option. Thanks for your support. Hi, How do you plan to password-protect on all URIs ? If you are going to use a way like HTTP auth , then it will happen before cache Best regards, hi @CacheCrawler Thanks for your quick answer. Im using a password protect page plugin. It uses PHP to protect and return a password form if valid cookie doesnt exist. As a result, the password form will be cached with Litespeed, and my users have to enter the password twice. Could you explain HTTP auth method in more detail? Is there any plugin that does it? I really appreciate your help. Hi, By HTTP Auth I mean this https://www.acunetix.com/wp-content/uploads/2016/08/image01.png but if you are using plugin that uses cookie to check ,please try add this at top of your .htaccess file RewriteRule . - [E=Cache-Vary:YOUR_COOKIE_NAME] Best regards, Thank @CacheCrawler, Let me try it. Have a good day.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference