Wordpress LScache Plugin: Geolocation cookie banner doesnt work with litespeed
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello again another conflict with the cookie banner of the Complianz plugin. It turns out that this plugin has a geolocation function to only display the banner in countries of the European Union which is exactly where the RGPD is, the problem is that when I have the Litespeed plugin active the banner is always displayed regardless of the visit, whether from USA, Mexico etc.. As soon as I deactivate LiteSpeed again the geolocation works again? is there any way to solve this? Thank you. I leave the report code of my 2 webs Report number: GTVXJDAN Report date: 01/21/2021 20:04:50 Report number: QFTDJWRV Report date: 01/21/2021 20:05:13 Hi, you need to add GeoIP support for LiteSpeed WebServer first. once you got that module installed and active , verify by phpinfo , you should see server env like my screenshot after that add this at top of your .htaccess RewriteRule . - [E=Cache-Control:vary=% ENV:GEOIP_CONTINENT_CODE ] then purge all Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference