简体   繁体   中英

Wordpress Plugins Couldn't Update: Could not create directory

Good day! Why is it that I am not able to update my plugins in my Wordpress Website.

In my FTP File I have already set my plugins folder to 755 then configured my wp-contents to 755. In my wordpress Site Health , this is what is written in File Permission

The main WordPress directory    Writable
The wp-content directory        Writable
The uploads directory           Writable
The plugins directory           Writable
The themes directory            Writable

I have done everything written in this site and still I can't update any of my plugins. I don't know what is wrong anymore or what should I do.

I am using CWP, with WordPress 5.5.1 and PHP version 7.4.10

One way to solve this problem, trying to change the FTP permissions by the “wp-config.php” file.

There're some steps to fix “Installation failed, could not create directory.” From your web hosting account, open the “File Manager”. Within the root folder, locate the “wp-config.php” file. In your “wp-config.php” file, enter the following passage of code. NOTE: Replace the information in brackets with your information.

define(‘FS_METHOD’, ‘ftpext’);
define(‘FTP_BASE’, ‘/pathtorootofyourblog/’);
define(‘FTP_USER’, ‘ftpusername’);
define(‘FTP_PASS’, ‘ftppassword’);
define(‘FTP_HOST’, ‘yoursite.com’);
define(‘FTP_SSL’, false);

Save the “wp-config.php” file. Return to your dashboard and try to install the plugin or upgrade once again. This time, it should be done without any problems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM