update .htaccess for permalinks and w3 total cache