“Failed to connect to FTP Server localhost” error message during wordpress plugin installation


To get rid of WordPress asking for FTP credentials during plugin and template installation.

Add following to wp-config.php file:

And set proper permissions to wordpress directory:

For example:

You may also like...

%d bloggers like this: