One of the great features of WordPress is that it allows you to automatically install and upgrade themes, plugins and upgrade WordPress version. But this features is fully support on hosts that support specific file permissions to write new files on directory. So, if you host is not support it will only prompt you for your FTP connection information every time on you trying to update and install themes, plugins or a WordPress.

“To perform the requested action, WordPress needs to access to your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.”
If you have a headache with this problem. We have a simple solution which will save the FTP login (username/password/server) on your blog and the WordPress will stop asking you for FTP details for access your blog’s directory.
1. Locate your WordPress root diectory and find the “wp-config.php” file.
2. Edit the file and insert below code in the middle, normally put it after the mysql username/password block or “define(‘DB_COLLATE’, ”);”.
/*** FTP login settings ***/
define('FTP_HOST', 'localhost');
define('FTP_USER', 'yourftpusername');
define('FTP_PASS', 'yourftppassword');
define('FTP_SSL', false);
You’ll need to replace “yourftpusername” and “yourftppassword” to the actual FTP usernames/passwords for your site.
Related posts:
Recent Comments