• How to remove this cookie? It manipulates caching, it is set for no reason as secured

    Response Header
    Content-Encoding:
    
    gzip
    
    Content-Length:
    
    95684
    
    Content-Security-Policy:
    
    upgrade-insecure-requests
    
    Content-Type:
    
    text/html; charset=UTF-8
    
    Date:
    
    Mon, 05 Jun 2023 15:36:10 GMT
    
    Link:
    
    <https://oddbitsegypt.com/wp-json/>; rel="https://api.w.org/"
    
    Link:
    
    <https://oddbitsegypt.com/wp-json/wp/v2/product/16825>; rel="alternate"; type="application/json"
    
    Platform:
    
    hostinger
    
    Server:
    
    LiteSpeed
    
    Set-Cookie:
    
    cr_wpml_is_filtered=no; path=/; SameSite=Lax; secure
    
    Vary:
    
    Accept-Encoding
    
    X-Dns-Prefetch-Control:
    
    on
    
    X-Litespeed-Cache:
    
    miss
    
    X-Powered-By:
    
    PHP/8.0.28

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support pistachio6321

    (@pistachio6321)

    Thanks for using our plugin!

    This cookie is added for compatibility with WPML plugin. Unfortunately, it is not possible to remove this cookie unless WPML if deactivated. If you deactivate WPML, the cookie will be removed automatically as well.

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    The cookie is set as secure why? this miss up with cache
    The cookie is not needed by the plugin right now as WPML duplicate reviews for all languages

    WPML behavior has changed and the cookie is not necessary, at least you can add an option the the settings page to enable or disable it, or can remove the “Secure”

    Plugin Support pistachio6321

    (@pistachio6321)

    Our plugin doesn’t set this cookie as secure. You can check the source code of the plugin to verify that. Perhaps, you have some other plugin or custom code on your website that adds the secure flag to cookies?

    WPML can either show reviews in all languages or show reviews in the active language only. The cookie is necessary for compatibility with WPML plugin.

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    Yes, i checked the code it does not add secure, but is there any way to remove it?, i can give you access to my site, the problem exists on two website that i manage.

    Moderator James Huff

    (@macmanx)

    Hi there @colyz93 please do not offer site access on these forums: https://www.ads-software.com/support/guidelines/#the-bad-stuff

    And @pistachio6321 please do not accept that offer. ??

    Thanks!

    Plugin Support pistachio6321

    (@pistachio6321)

    You can add a custom code snippet to disable the cookie as explained here: How to Disable WPML Cookie.

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    Hello, my problem is solved now and my websites are fast and the caching problem is solved

    And i increased the reviews per product to solve ajax as reviews are not loading on click

    Thank you very much

    But can it include secure = false or something to be able to use it without the problem being happening and still use ajax?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove cr_wpml_is_filtered Cookie’ is closed to new replies.