WordPress

Fix WordPress Connection Information Error

If you are asked for Connection Information when installing or updating a WordPress theme or plugin, you can fix this issue using the steps below.

The warning looks like this.

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.

Solution to Connection Information Error

To solve this problem, connect to your server via ftp.
Open your wp-config.php file in the main directory.
Add the following code under the define( ‘WP_DEBUG’, false ); line and save.

define( 'FS_METHOD', 'direct' );

If the problem persists, try the alternative method.

Alternative Solution

To solve this problem, connect to your server via ftp.
Open your wp-config.php file in the main directory.
Add the following code under the define( ‘WP_DEBUG’, false ); line and save.

define('FS_METHOD', 'ftpext');
define('FTP_USER', 'your_ftp_username');
define('FTP_PASS', 'your_ftp_password');
define('FTP_HOST', 'your_ftp_host_index');

Important Note: This issue is usually caused by incorrect file and folder permissions. You can fix this issue by resetting file and folder permissions.

You can check directory permissions issues from the WordPress Site Health section.

https://www.yoursite.com/wp-admin/site-health.php

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top