Plugins or WordPress core itself updates require the access data to the FTP server. Normally, they will be requested on each occasion, but we can include them in the WordPress configuration files so that they are not requested again.
We tell you how to include FTP data in the configuration file:
Access the directory where you have hosted WordPress (usually: "/data/web/").
Modify the file "wp-config.php".
You can choose to access via FTP to modify the file. If you have questions about how to access, see our manual "FTP account management".
define ('FTP_USER', 'User_Name'); define ('FTP_PASS', 'Password'); define ('FTP_HOST', 'IP_FTP_Server');
Modify the following parameters:
As an example:
define ('FTP_USER', 'swdemo'); define ('FTP_PASS', 'SwC0ntras3ña!'); define ('FTP_HOST', '81 .25.0.1 ');
Remember that, in case you need to download or update any component, WordPress will need write permissions in the "wp-content" directory.
To do this, from SW Panel access to Services > Select the service where WordPress is installed > Permissions Management and click on the "wp-content" directory icon:
If the icon is green, it means you have write permissions.
We have already configured the FTP data in WordPress!