FTP credentials requested when downloading a plugin

Hi,

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
> FTP
> FTPS (SSL)

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. */

Regards,
Alessandro

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

You are very welcome Jacqueline, glad it worked!

Regards,
Alessandro

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