WordPress Connection Information – Solution
If you are using WordPress for your blog or website, then there might be situations where the website/plugins upgrade is not as smooth as expected. Instead, the update asks for FTP info each and every time you want to upgrade plugins or your blog. This is not very helpful. In this article, I am going to share a very easy solution for this problem. Read on to find out more.
Stop WordPress From Asking FTP Information
Ok, so let’s quickly look at what the problem is. Here is a screenshot of the screen that I am talking about:
You may be seeing a very similar screen if you try to upgrade your blog. Essentially, the screen states the following message:
Connection Information
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.
So getting to this screen and then manually entering all the required information each and every time an upgrade is to be performed can be very annoying. So here’s the solution:
Solution for WordPress Connection Information Nag Screen
When you install WordPress, the root directory of the website will contain a file called “wp-config.php”. WordPress stores some of the important and required information in this file. Open this file in a text editor and copy the following three lines just after the initial comments in the file:
//FTP info define('FTP_USER', 'ftp_user_here'); define('FTP_PASS', 'ftp_password_here'); define('FTP_HOST', 'ftp_host_name_here');
The first line in the above code is a comment. The next three lines after the comment are required for you to solve this issue. Just copy those lines and modify the values to the actual values provided by your web host. So here’s what you need to do:
- Replace ‘ftp_user_here’ with your actual FTP username.
- Replace ‘ftp_password_here’ with your actual FTP username.
- Replace ‘ftp_hostname_here’ with your actual FTP username.
You can get the above details from your web host. If you are still confused as to where to add this info, just look at the screenshot below for better understanding:
So once you have updated the file with the required info, simply save the file and then upload it back to your website’s root folder. After that, go back to the upgrade page and try out the action that you previously performed. If you have done everything correctly, then you won’t see the FTP info nag screen again.
Conclusion
Editing wp-config.php file and filling it with the FTP User, FTP Password and FTP Hostname is the solution. Hope this solution has helps the needy. Let us know your experience by commenting below.