How to Resolve “WordPress Asking for FTP Credentials” Error

Have you ever tried to update your WordPress plugins and you get a prompt to fill out your FTP Credentials?

The error usually occurs when the following code is missing from wp-config.php file;


So you’ll need to go via your FTP program, like FileZilla, and go to the wp-config.php file to insert the code above.

This function allows the current user to edit or install files in your folder.