wordpress fs_method direct

  1. Access your WordPress site's files using an FTP client or file manager provided by your web hosting service.
  2. Locate the wp-config.php file in the root directory of your WordPress installation.
  3. Download a copy of the wp-config.php file to your local computer as a backup.
  4. Open the wp-config.php file using a text editor.
  5. Find the line that says "/ That's all, stop editing! Happy blogging. /".
  6. Just above this line, add the following code:
define('FS_METHOD', 'direct');
  1. Save the changes to the wp-config.php file and upload it back to the server, replacing the existing file.
  2. Verify that the file has been properly updated by visiting the WordPress admin dashboard and attempting to perform a file update or installation.