Have you ever encountered an FTP pop-up when installing or updating a plugin in WordPress?
If so, you can follow the steps in this article to resolve the FTP pop-up when installing or even updating plugins in WordPress. However, if you have never encountered this error, or are not sure about the error in question, you can see an example below.
So, do you understand the error we are going to discuss now? Let us get straight to the repair steps.
How to Fix the FTP Pop-up When Installing Plugins
Note: This method uses cPanel hosting to manage files. If you are using hosting or even a server without a control panel, the method is almost the same where you just need to edit the wp-config.php file inside your WordPress installation folder.
1. Open File Manager
If you have already logged into cPanel or your hosting, you can proceed to open the File Manager page to manage files, which you can find using the search bar.
2. Find the wp-config.php File
Once you are inside the file manager, look for your WordPress installation folder. For the main hosting domain, the installation folder is usually located inside the public_html
If you have found the wp-config.php file, you can edit it by right-clicking on the file and clicking Edit.
3. Update wp-config.php
Inside wp-config.php, look for the line FS_METHOD and if found, the line might look like this:
define('FS_METHOD', 'ftpsockets');If it is not found, you can add the code below above the line /* That’s all, stop editing! Happy publishing. */
define('FS_METHOD', 'direct');Now you can save the update to the wp-config.php file to apply the changes.
4. Try Updating Plugins or Themes
Now you can try updating the themes or plugins on your WordPress site again, or you can also install new plugins, and the FTP pop-up should definitely be gone.
COMMENTS
Loading...