In this video, you will learn how to fix FTP Error When Installing Plugins on WordPress.
There can be many reasons for an FTP error when installing plugins on WordPress. In this video, we will show you how to troubleshoot the most common causes of this error and how to fix it quickly and easily.
Codes to add in wp-config.php file
If the above code does not work, add the following code in wp-config.php file
define('FS_METHOD', 'direct'); define('FS_CHMOD_DIR', (0705 & ~ umask())); define('FS_CHMOD_FILE', (0604 & ~ umask()));