• Resolved mkarena

    (@mkarena)


    Hello,

    Complianz is working well but I have a strange problem where the cookie banner does not show on some pages.

    I disabled all plugins, but it didnt change anything and the checkbox “dont show the banner” is unchecked.

    For whatever reason when i change the url slug of the page, it works again.

    Do you have any idea how to solve this problem ?

    Thanks for your plugin !

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @mkarena,

    Do you explicitly block the banner on a specific page, either on the page with the checkbox or MU plugin?

    If so, does the page where you block the banner and other pages have something in common in the URL?

    If you could provide examples, I might have a better understanding what’s happening. regards Aert

    Thread Starter mkarena

    (@mkarena)

    Hi,

    No I didn’t disable any specific page and I don’t use MU Plugin.

    I tested with StoreFront and only WooCommerce and Complianz activated. All while using the private mode of the browser. I deleted all cookies, I have no cache…

    When I change the url of the page, then the banner is displayed but if I put it back as it was, it is no longer displayed.

    Some pages may have something in common (like the product brand) but it works for other products with related keywords. The url were probably edited in the past.

    For example, a page where the banner does not show up :
    https://www.artfire.fr/produit/cheminee-electrique-dimplex-haydn/

    Thanks for your help

    • This reply was modified 1 year, 3 months ago by mkarena.
    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @mkarena,

    I think I figured out that everytime ‘dimplex’ is in the URL, Complianz is disabled.

    This would only be possible if there was a MU plugin, or if a page like /dimplex/ had Comlpianz disabled – and URLs which then contained ‘dimplex’ were also disabled.

    If you don’t know which page, or MU plugin you could verify by duplicating a page, but changing the URL without dimplex to know for sure.

    regards Aert

    Thread Starter mkarena

    (@mkarena)

    Hi,

    Thanks for your reply.

    Indeed all url that have “dimplex” in their url seems broken.

    So I tried to add the word to a url where the banner is displayed and it broke. I added dimplex to a second page with a working url and it still worked… So I don’t know what to think.

    The MU-PLUGINS directory is empty and I have never used this feature.

    EDIT: i replaced the .htaccess with a wordpress vanilla one, i tried to resave permalinks but no change

    EDIT 2: if i take the previous url example, the i put the dimplex keyword at the very beginning, then it’s work. If i replace it at the previous spot, it still not working and if i put it at the very end, it does not work.

    EDIT 3: I dont have any page /dimplex/ but for whatever reason it’s redirecting to a product page that contains dimplex in its url (probably based on wordpress url matching)


    Thanks

    • This reply was modified 1 year, 3 months ago by mkarena.
    • This reply was modified 1 year, 3 months ago by mkarena.
    • This reply was modified 1 year, 3 months ago by mkarena.
    • This reply was modified 1 year, 3 months ago by mkarena.
    • This reply was modified 1 year, 3 months ago by mkarena.
    Thread Starter mkarena

    (@mkarena)

    $excluded_posts_array = get_option( ‘cmplz_excluded_posts_array’, array() );

    This variable contains the word “dimplex”. But I have no idea where it comes from… any idea ?

    EDIT : i deleted the option but no change

    • This reply was modified 1 year, 3 months ago by mkarena.
    Thread Starter mkarena

    (@mkarena)

    It seems to work now after resetting the option. Do you think this is a viable solution?

    Thanks

    • This reply was modified 1 year, 3 months ago by mkarena.
    Thread Starter mkarena

    (@mkarena)

    I will mark the post as resolved is it’s working ok now.

    Could you just remove the link from previous post (i dont want search engine to scrap it).

    Thanks !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cookie Banner not showing on all pages’ is closed to new replies.