Automatically WordPress updates not working or require user and password


If you have a wordpress website on shared hosting data center and you are facing problems with automatically updating your site, probably is about the read/write permissions .

So first you need to be sure that you have write permissions on the server .

If you are not you need to do some stuff in wp-config.php file .

So you need to add :

define(‘FS_CHMOD_DIR’, (0755 & ~ umask()));
define(‘FS_CHMOD_FILE’, (0644 & ~ umask()));

and your new created folder should have 755 permissions and the files 644.

Probably now the update will work but you need to manually insert user name and password for your FTP account .

After that if you want to update your wordpress automatically without asking your user and password insert in your wp-config.php file the following stuff :

define(‘FTP_SSL’, false);

Hope this will help you !

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet - Rate this article !)

Lost Password