add w3tc settings to .htaccess and wp-config.php