Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Add FTP data in WordPress

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".

  • Add the following lines:
define ('FTP_USER', 'User_Name');
define ('FTP_PASS', 'Password');
define ('FTP_HOST', 'IP_FTP_Server');
  • Modify the following parameters:

    • User-name: FTP access user.
    • Password: FTP access password.
    • IP-Server-FTP: Address or IP of the FTP server.

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!

Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.