Cannot Flush Permalinks with WP-CLI

I solved the problem by adding wp rewrite flush –hard command and setting mod rewirte in the global wp-cli configuration file: wp rewrite structure ‘/%postname%/’ wp rewrite flush –hard config.yml apache_modules: – mod_rewrite In this way, the .htaccess file gets regenerated. According to the official docs, this is needed in order to flush the permalinks. … Read more

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