It has not been possible to connect to the file system. Please, confirm your credentials. WordPress

0

I have a problem with a wordpress that I installed recently, it happens that when I want to install something I skip a screen that asks for FTP credentials, which I have never had to put that in any wordpress I installed, I would like to know how I can solve this because I put my FTP data and I get errors such as incorrect user or password or failed connection, I tried one of the options that says wordpress, which no longer appears the screen that asks for FTP credentials but not me lets install nothing tells me error. I use xampp and I'm on localhost.

this is the code I tried:

define('FS_METHOD', 'direct');

and also:

define("FTP_HOST", "localhost");
define("FTP_USER", "yourftpusername");
define("FTP_PASS", "yourftppassword");

Thank you for your contributions.

    
asked by Jefferson Vasquez 12.04.2018 в 09:26
source

1 answer

0

Have you tried with these data? In local we do not need user authentication and password by default, but could put the IP "127.0.0.1" in FTP_HOST

define("FTP_HOST", "localhost");
define("FTP_USER", "");
define("FTP_PASS", "");
    
answered by 12.04.2018 в 09:34