automatic updates

Auto update wordpress

Neat trick to always auto update wordpress and plugins. Pro Tip: You should make regular backups to have something to go back to if the update f*d your site ;-) First we need to change the permissions and ownership of the web dir. # Change Owner and Group to SomeUser and WebServerGroup (ftp-user:www-data) chown -R ftp-user:www-data /path/to/wp # Change folders to 775 find /path/to/wp -type d -exec chmod 775 {} \; # files op 664 find /path/to/wp -type f -exec chmod 664 {} \; Now we need to set the prefered file access method for wordpress.