Securely updating your WordPress site

Databias is crazy about the security and performance of your WordPress website – we want your site to perform the best that it can whilst remaining secure and convenient to use.

With this in mind, we implement free SSL certificates on all sites hosted with us and enable the cutting edge HTTP2 protocol for blazingly fast transfer speeds for any visitors to your site.

In addition, in order for you to connect to and update your WordPress site, we enforce strict encryption and security using FTP over the SSH2 protocol. Unlike HTTP2, there are one or two things customers need to do in order to get up and running with SSH FTP, but don’t worry, it’s really straight forward.

Firstly, connect to your site using the details provided by our support team and your favourite SFTP client (we prefer Cyberduck , but there are many other SFTP clients out there).

Once connected, browse to and edit your wp-config.php file located in your root WordPress folder. At the top of this file (after the opening PHP tag), add the following lines:

define( 'FS_METHOD', 'ssh2' );
define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'localhost:port' );
define( 'FTP_BASE', '/htdocs/' );

Obviously you will need to substitute the username, password and port words above with the relevant details provided by our support team (actually the same details you entered into your SFTP client earlier).

That’s it! Ensure you save the file you were editing to commit the new changes. You should now be able to update the core WordPress files as well as any other plugins on your WordPress site all via the /wp-admin secure login as per normal. Just now all updates will be secure and your username and password encrypted.

Remember, if you get stuck, please contact our support team via the usual channel.

Related KB articles