How to Fix WordPress Asking for FTP Credentials

This can be a common error found on older wordpress wesbites that have not been updated for a while.

Its a fix that current WordPress support experts who have only been resolving issues with wordpress only for the past few years have no idea how to fix this.

So what you need to do is locate the the wp-config.php under your ;ublic_html directory.

Add the following under $table_prefix = ‘wp_’;

define(‘DISALLOW_FILE_EDIT’,1);
define(‘FTP_USER’, ‘ftpuser@domain.com‘);
define(‘FTP_PASS’, ‘password’);
define(‘FTP_HOST’, ‘ftp.domain.com‘);