Categories

Featured templates

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

Daniel Morales February 12, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

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

Best Wordpress Themes
This entry was posted in WordPress Tutorials and tagged filesystem, ftpext, method, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket