Just add this to wp-config.php /* disable WordPress auto-updates – D.V. */ define( ‘AUTOMATIC_UPDATER_DISABLED’, true );Source: http://codex.wordpress.org/Configuring_Automatic_Background_Updates

1. First, check the current values: SELECT * FROM wp_options WHERE option_name = “siteurl”;  SELECT * FROM wp_options WHERE option_name = “home”; 2. Then modify the values: UPDATE wp_options SET option_value=”http://[new domain name or ip address, without trailing slash]” WHERE option_name = “siteurl”; UPDATE wp_options SET option_value=”http://[new domain name or ip address, without trailing slash]” WHERE option_name […]

Everything in /var/www owned by root user and www group: sudo chown -R root:www /var/www Set /var/www directory permission to owner rwx, group rwx, and everyone else to r-x sudo chmod 2775 /var/www Set all current and future directory permissions to owner rwx, group rwx, and everyone else to r-x find /var/www -type d -exec sudo […]

First, back up the server (including the database) by creating the image. This way if anything goes wrong, you can always try again. Then use this fast and easy fix: mysqlcheck –repair –all-databases Or, as is the case at Amazon account that I manage: mysqlcheck -u root -p –repair –all-databases Password: the root MySQL password.  If […]