How to solve Wordpress asking for FTP credentials?
During updates or plugin installation, Wordpress may ask for FTP credentials. This happens when WordPress can not write in the /wp-content
directory.
Option 1. The best option is to adjust permissions to the /wp-content
folder so that WordPress can write in the folder.
Option 2. Append the following line at the end of the wp-config.php
file located in the root folder on your WordPress:
define ( 'FS_METHOD', 'direct');
Save the file, WordPress shouldn't ask anymore for the FTP credentials.
During updates or plugin installation, Wordpress may ask for FTP credentials. This happens when WordPress can not write in the /wp-content
directory.
Option 1. The best option is to adjust permissions to the /wp-content
folder so that WordPress can write in the folder.
Option 2. Append the following line at the end of the wp-config.php
file located in the root folder on your WordPress:
define ( 'FS_METHOD', 'direct');
Save the file, WordPress shouldn't ask anymore for the FTP credentials.
# | ID | Query | URL | Count |
---|