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
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