FTP credentials requested when downloading a plugin


I saw a previous post similar to this but I did not find a solution. I was trying to add the All-in-one WP plugin and a window pops up every time. Here’s the content:

> 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.
*> *
> Hostname
> example: www.wordpress.org
> FTP Username
> FTP Password
> This password will not be stored on the server.
> Connection Type

Hello @jcqlntbr and welcome to DevKinsta Community!
Can you please try to add the following line into your wp-config.php file:

define( 'FS_METHOD', 'direct' );

just before the line that says:

/* That's all, stop editing! Happy publishing. */


Hi, Alessandro. Thank you for the instructions. It worked!

You are very welcome Jacqueline, glad it worked!


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.