If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to force the “ftpext” filesystem method to be used

This tutorial will show you some useful WordPress configuration tricks that you may not know.

WordPress. How to force the “ftpext” filesystem method to be used

By default, WordPress allows you to upgrade plugins, WordPress core versions via the backend. There are some hosts that require an FTP or SSH connection every time you try to upgrade, or install a new plugin. By using the codes below, you can set the FTP or SSH constants and never have to worry about it again:

//forces the filesystem method: "direct", "ssh", "ftpext", or "ftpsockets"
define('FS_METHOD', 'ftpext');
  1. Add the above code to the very end of ‘wp-config.php’ file:

    WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_1

From now on, WordPress will ask for ftp details to perform any requested action that may damage your website (deleting plugin, upgrading WordPress core files, etc). User will have to enter your FTP credentials to proceed:

WordPress_How_to_force_the_ftpext_filesystem_method_to_be_used_2

Check out the handpicked selection of best WordPress themes designed in 2016!

Feel free to check the detailed video tutorial below:

WordPress. How to force the “ftpext” filesystem method to be used