Need to refresh page after each change

Solved by adding to .htaccess # DISABLE CACHING <IfModule mod_headers.c> Header set Cache-Control “no-cache, no-store, must-revalidate” Header set Pragma “no-cache” Header set Expires 0 </IfModule>

How to make login / logout links cache independent?

Solution from: https://stackoverflow.com/questions/48511579/jquery-check-wordpress-logged-in-cookie was a dead end. It does not work with WooCommerce, because login is not done through standard WordPress login screen, but dedicated login form and there are no cookies accessible through JavaScript created when user logs in. I created a working solution through jQuery Ajax, though I’m not happy with result, because … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)