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.
Why this issue?
Sometimes WordPress files don’t have sufficient permissions so it is asking for FTP Configuration.
Read More:
- How to Create Custom Post Types in WordPress without using any Plugin
- PHP code to Add Featured Image in WordPress
- How to Upload SVG file in WordPress
- Notice: Constant FS_METHOD already defined
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.