Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1208821

    Hallo,
    I use wget or httrack to transform our website into static HTML (due to several reasons which should not be discussed)
    A static HTML-website usually does not need to store cookies – but in your case it still does – according to Chrome & Firefox inspector.
    All cookies come from Enfold, you can tell by the name ..”aviaXYZ”

    Question:
    What do i need to do before i do “wget” so that there are no cookies after the transformation?
    (or asked in another way – how do i get rid of your cookies?)

    TT

    #1211835

    Hey TT,

    Thanks for contacting us and sorry for the late reply!

    Could you please try adding following code to bottom of Functions.php file:

    function av_remove_cookies() {
    wp_dequeue_script( 'avia-cookie-js' );
    }
    add_action( 'wp_print_scripts', 'av_remove_cookies', 100 );

    That should de-register our cookie script and therefore should not store any cookies :)

    Best regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.