If your WordPress is asking for FTP credentials to update or install plugins or themes…
![](https://www.ronald.digital/wp-content/uploads/2023/07/image-32.png)
Step 1
Open the wp-config.php in notepad or even better in Programmers Notepad.
Step 2
Go down to the bottom of the file and create two new lines.
Step 3
Add the following text:
define('FS_METHOD', 'direct');
![](https://www.ronald.digital/wp-content/uploads/2023/07/image-33.png)
Step 4
Save the document and reload the page.
![](https://www.ronald.digital/wp-content/uploads/2023/07/image-30.png)