1. Open /Wp-Config.Php
Now the first thing you need to do is to open the wp-config.php
file from your WordPress root folder (you may access this file from your WordPress installer folder). From the installation folder, the file is located at wordpress/wp-config.php
2. Insert FS_METHOD
Paste the following code to your wp-config.php file, preferably just below every other line of code.
define('FS_METHOD','direct');
3. Save And Upload
When you have already pasted the one-line code, you can proceed to upload the file to your WordPress root folder on your server, and it should work right away. Uploading can be done directly from your host control panel.