Unable to locate WordPress content directory (wp-content) when updating plugins
-
Hi, WordPress has recently started asking me to enter ftp credentials when updating/installing plugins. But whatever I try, I always get the error
Unable to locate WordPress content directory (wp-content).
I’m using the site owner’s ftp credentials, tried ftp and ftps, but all to no avail. After some googling, I added this to wp_config (names changed to protect the guilty):
define( 'FTP_USER', 'nottherealusername' ); define( 'FTP_PASS', 'nottherealpasswordeither' ); define( 'FTP_HOST', 'ftp.hughtempleton.co.uk' ); define('FS_METHOD', 'ftpext'); define('FTP_SSL', true);
But still get the same error. It’s a pretty vanilla install of WP 5.8.2, wp-content is at /public_html/wp-content, it has 755 permissions. What else can I try?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unable to locate WordPress content directory (wp-content) when updating plugins’ is closed to new replies.