• Resolved Nenesse

    (@nenesse)


    Hi,

    I have finished the wizard of Complianz 100%. I have set up my cookie banner.

    But if I go to my website, I do not have any cookie banner displayed.

    I am using Astra Theme + Private Content Content plugin. Is there any conflict with Complianz?

    Thanks for your help

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    The problem is that your server or maybe a security plugin is blocking the javascript file:
    https://www.dokutech.fr/wp-content/plugins/complianz-gdpr/assets/js/cookieconfig.min.js?ver=4.5.2

    Because the file isn’t loaded, the banner doesn’t show.

    If you have a security plugin, please try disabling it. If that helps, you may need to adjust the configuration. That plugin’s support will be able to help you with that.

    If that doesn’t help, I would check with your hosting company if there’s something that is blocking the file.

    Thread Starter Nenesse

    (@nenesse)

    Hi, you are right, I’m using All In One WP Security plugin.
    I have disable all security functionnalities and all firewall rules and finally cookie banner works.

    Now, I have to find out which option breaks Complianz and see if I can add exception.

    I will let you know if I have more information later.

    Thank you, regards.

    Thread Starter Nenesse

    (@nenesse)

    Hi again,

    I think I have found which option causes the problem with cookie banner.

    In AIOSP, in Firewall menu and Additional Firewall Rules tab, if I tick the last option “Advanced Character String Filter (this will block bad character matches from XSS)”, the cookie banner stops working.

    Any Idea of what does this mean? Is there something wrong with the Complianz script?
    I do not see any option to add an exception or bypass firewall for Complianz script.

    regards

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @nenesse,

    We wrote a short article about this: https://complianz.io/all-in-one-wp-security-firewall-xss-rules/

    It’s not a problem with the script, we gather a false positive from All in One WP Security. If you want to add an exception, this can be done in .htaccess. I would suggest asking support from AIOSP to help you out, as explained in the article.

    There should be a custom rules tab under Firewall rules if I’m not mistaken. I will update the article with information about editing .htaccess.

    regards Aert

    Thread Starter Nenesse

    (@nenesse)

    Hi, I have to admit that once you talked about a possible problem with a “security plugin” I made the connection with AIOSP, then immediately trying to find a solution myself instead of checking your articles.

    There is a post in AIOSP support forum but they do not talk about excluding a script. I will asked for help nonetheless.

    regards

    Thread Starter Nenesse

    (@nenesse)

    Hello, I just noticed that my message was marked as resolved, but it was not completely correct.

    So to make the cookie banner works with AIOSP:

    • In AIOSP, in “Firewall” menu, check “Advanced Character String Filter” into “Additional Firewall Rules” tab and save
    • Copy all .htaccess rules in #AIOWPS_ADVANCED_CHAR_STRING_FILTER_START section. (get you .htaccess file via FTP)
    • Uncheck “Advanced Character String Filter”¨and save
    • Into AIOSP, in “Firewall” menu, check “Enable Custom .htaccess Rules” into “Custom Rules” tab
    • Paste all rules into “Enter Custom .htaccess Rules:”
    • Comment the line “RedirectMatch 403 config\.” into “# SPECIFIC EXPLOITS” section of the rules to ignore it (add a # before)
      #RedirectMatch 403 config\.
    • Save Custom Rules
    • Now the cookie banner should work again.

      Hope that can help.

      regards

    • This reply was modified 4 years, 6 months ago by Nenesse. Reason: small correction
    • This reply was modified 4 years, 6 months ago by Nenesse. Reason: more details
    • This reply was modified 4 years, 6 months ago by Nenesse.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘cookie banner does not show’ is closed to new replies.