[ERROR] 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:
1
define('FS_METHOD', 'direct');
above this comment in the wp-config.php file:
1
/* That's all, stop editing! Happy blogging. */
So the code in wp-config.php will look like this :
12
define('FS_METHOD', 'direct');/* That's all, stop editing! Happy blogging. */
That’s it
PreviousCài đặt plugin và xóa cần cấu hình file wp-config.php, FTP (ok)NextXóa bài viết sẽ xóa luôn hình ảnh đính kèm
Last updated