WordPress FTP connection setting for localhost to upload and install plugin

1
81

Problem:  To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Solution: 

Try to add the code in wp-config.php in the htdocs folder where I installed WordPress:

/* FTP connection */
define('FS_METHOD','direct');
define("FTP_HOST", "localhost");
define("FTP_USER", "nguyenhuyhieu");
define("FTP_PASS", "12345678");

Save and try again with your FTP connection account.

Have a good to you…

 

5 (100%) 1 vote

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here