Step 1. Find and open wp-config.php file
We can find wp-config.php file in wordpress root folder
Step 2. Search text ‘FS_METHOD’ in wp-config.php file
Search ‘FS_METHOD’ in wp-config.php file. In case, if it’s already defined then change its value to ‘direct’. After changing the value it will look like
define('FS_METHOD','direct');
In case, if it’s not defined then add below code just above the comment /* That’s all, stop editing! Happy publishing. */
define('FS_METHOD','direct');
