In this article,  we will discuss how to update WordPress and plugins without using FTP. Sometimes when we try to update WordPress or Plugin, WordPress is asking to provide FTP information for security purposes.

 

ftp

Why this issue?

Sometimes WordPress files don’t have sufficient permissions so it is asking for FTP Configuration.

Read More: 

How to Fix it?

This can be changed using WordPress constant.

define('FS_METHOD','direct');

Copy this constant and paste in your wp-config.php file and refresh the page. The FTP configuration screen will disappear.