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;

define('FS_METHOD','direct');

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. 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.