Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @kevinlg,

    Is there a difference between your admin URL, and the front-end?

    It really depends on your set-up. Is your multisite for different languages, or are these different domains?

    If two Complianz plugins are fighting over setting consent cookies on the root domain, it might cause an issue. Could you check if this might be the case? Let me know if I can help with this,

    regards Aert

    Thread Starter kevinlg

    (@kevinlg)

    Hi @aahulsebos,

    I use the same domain for everything. The multisite has a subfolder structure, i.e. / for en-US and /es/ for es-ES.

    Thanks,
    Kevin

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @kevinlg,

    I would suggest adding this to your (child) themes functions.php, or via a plugin like Code Snippets.

    function my_cookie_path($path) {
        return '';
    }
    add_filter( 'cmplz_cookie_path', 'my_cookie_path');

    This will set the cookies on the same root domain, and will share consent for all subfolders.

    Let me know!

    regards Aert

    Thread Starter kevinlg

    (@kevinlg)

    Thanks – it worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cookie banner appearing on every page when logged in as admin’ is closed to new replies.