• Resolved aggk

    (@aggk)


    Hi,

    I just tried this shortcode:
    [cmplz-consent-area category=”marketing”]
    Your content
    [/cmplz-consent-area]
    (from this page https://complianz.io/used-shortcodes-by-complianz/)
    When I view the page before consent it shows the text “Click to accept the cookies for this service”, which is great. However when I accept cookies, then the page goes into a loop and just tries to reload the page over and over. Any idea what could be causing this?
    We are on WP Engine shared hosting.

    Thanks!

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

    (@aahulsebos)

    Hi @aggk,

    You can add cache_redirect=true to the shortcode,

    Specifics about this shortcode can be found here. https://complianz.io/wrapping-content-in-consent-shortcodes/

    Wrapping content on the front end can cause loops with caching enabled.

    regards Aert

    Thread Starter aggk

    (@aggk)

    Hi again,

    I tried adding cache_redirect=true there but it has no effect. I still see the same “refresh loop”.
    I prefer not sending the URL publicly here but I’m on WP Engine hosting.
    Do you know if Complianz is compatible with this?

    Thanks!

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Possibly there is some sort of caching active which ignores url parameters. As a result, the redirected page is not seen as being a separate page, and is loaded from the same cache.

    Can you check if that is the case?

    Hi @aggk,

    We haven’t heard from you in a while, is the issue resolved? We are happy to help you further.

    Kind regards, Kim van Dijk

    Thread Starter aggk

    (@aggk)

    Hi again,

    Sorry for late reply.
    Is there something specific I could ask WP Engine to exclude from cache here?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cmplz-consent-area loops’ is closed to new replies.