LiteSpeed Cache – it was the culprit for me.
You DO NOT have to remove/disable it.
You CAN configure it.
In the WordPress menu:
- LiteSpeed Cache > Cache
- [4] Excludes > Do Not Cache URIs
- enter relative urls (one per line)
- For example:
/sample-page1
/sample-page2
I spent hours on this.
I tried configuring .htaccess. No beans.
I tried force http->https. No beans.
I removed “drop-in” plugins. No beans.
Finally, simply adding the pages I needed to the “Do Not Cache URIs” box under “[4] Excludes” settings for LiteSpeed Cache… worked.
Here’s the docs to this setting:
https://docs.litespeedtech.com/lscache/lscwp/cache/#do-not-cache-uris
Note: the docs do not mention anything about Password Protected pages.
-
This reply was modified 4 years, 1 month ago by jetsquared.
-
This reply was modified 4 years, 1 month ago by jetsquared.
-
This reply was modified 4 years, 1 month ago by jetsquared.