Incorrect FTP authentication is blocking a plugin install and setting FS_METHOD to ‘direct’ in wp-config doesn’t help

I’m trying to install the plugin “Form Maker by WD” into my WordPress site. Whether trying to install directly or through downloading and then uploading it, it throws an “incorrect ftp username/password” error, and the textboxes for ftp authentication are grayed out. I can tell by the amount of symbols that it has my ftp password wrong, but there seems to be no way to correct it.

So, I’ve been trying to figure out a way to install the plugin while bypassing the ftp credentials, and found while looking it up that the answer was to insert this code into my wp-config.php file:

define(‘FS_METHOD’,’direct’);

I went into an FTP client and accessed my admin directory. Inside “/home/administrator/wordpress” was a wp-config-sample.png file, which I copied to my local drive, renamed to “wp-config”, added the above code at the bottom, and then transferred into the wp folder on the server.

Sign out of my WordPress site, closed my browser and everything, went back in, and it was still throwing the ftp error at me.

Can anyone please help me out with this, either what I did wrong with the FS_METHOD insert or what I can do to fix the ftp error?

Read more here:: Incorrect FTP authentication is blocking a plugin install and setting FS_METHOD to ‘direct’ in wp-config doesn’t help

Leave a Reply

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