WordPress – How to set “direct” filesystem method

There is only one short line of code needed to set the filesystem method for your WordPress site.

This line of code has to be added to wp-config.php file of your WordPress install. First search the wp-config.php file for “FS_METHOD” in case that it’s already defined. If that’s the case, then just change the value to “direct”. Otherwise add this line:

above this comment in the wp-config.php file:

So the code in wp-config.php will look like this :

That’s it 🙂

More info on FS_METHOD.

Leave a Reply

Your email address will not be published. Required fields are marked *