GDPR Cookie Compliance Plugin (CCPA ready) cache problem

[ad_1]

Hello,

I have installed the mentioned plugin on my end and once I click the Accept button, the page does not refresh and no errors are encountered.

You can exclude the cookies from the caching mechanism using the following filter, which should be added to the theme’s functions.php file:

add_filter( 'sgo_bypass_cookies', 'add_sgo_bypass_cookies');
function add_sgo_bypass_cookies( $bypass_cookies ) {
    // Add the cookies, that you need to bypass the cache.
    $bypass_cookies[] = 'cookie_name';
    $bypass_cookies[] = 'cookie_name_2';

    return $bypass_cookies;
}

Please test that way and if the issue still persists, you can open a ticket on our end from your SiteGround User Area so we can investigate the case further. If you website is not hosted by us, you can contact a developer who can review the case further as the reported page refresh is not expected to be done by our plugin and could be caused by different extension or plugins conflict.

Regards,
Dimitar

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer