Blog

Working with companies of all sizes to make the most of the internet.

Depending on how your web hosting is configured you may receive the following message when tying to update your site.

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP or SSH credentials to proceed. If you do not remember your credentials, you should contact your web host.

While entering your ftp details is simple enough, if you update the site frequently or update multiple sites this can become a bit of a pain.

The solution is to add your ftp details to the file wp-config.php which will be located in the root of your websites hosting. In order to do this you’ll need to either access your websites files via your hosting control panel or by connecting to your server fia ftp.

Once you have the file open it in a text editor such as notepad and look for the following line.

##define(‘FTP_PASS’, ”);

Remove the two hash symbols at the front, these are used to comment out code in PHP the language WordPress is written in, and enter your password between the two single quotes.

define(‘FTP_PASS’, ‘PasswordGoesHere’);

Save the changes and upload the file to your hosting, making sure to replace the orignal wp-config.php file. You should now find you are able to run your updates without entering any details.