• Resolved Gruskel

    (@elevas33)


    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

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    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

    <IfModule LiteSpeed>
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:GEOIP_CONTINENT_CODE}]
    </IfModule>

    then purge all

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Geolocation cookie banner doesn’t work with litespeed’ is closed to new replies.