Hardening Your WordPress CMS

Here are some great resources for hardening you CMS: WordPress: OWASP WordPress Security Implementation Guide [OWASP] WordPress: Hardening WordPress [Official WordPress Codex] General: How to Secure your CMS [MalwareBytes] General: A Security Overview of Content Management Systems [Detectify]  

MySQL Wordpress

Change and Update WordPress URLS in Database When Site is Moved to new Host

UPDATE wp_options SET option_value = replace(option_value, ‘http://www.oldurl’, ‘http://www.newurl’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘http://www.oldurl’,’http://www.newurl’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.oldurl’, ‘http://www.newurl’); UPDATE wp_postmeta SET meta_value = replace(meta_value,’http://www.oldurl’,’http://www.newurl’); mysql> UPDATE wp_options…

Read More


Configure Automatic Updates WordPress

nano /wp-config.php Change this…. //— disable auto upgrade define( ‘AUTOMATIC_UPDATER_DISABLED’, true ); To this…to update core, plugins and themes //— disable auto upgrade define( ‘AUTOMATIC_UPDATER_DISABLED’, false ); define(‘WP_AUTO_UPDATE_CORE’, true); add_filter( ‘auto_update_plugin’, ‘__return_true’ ); add_filter( ‘auto_update_theme’, ‘__return_true’ );