Wordpress

From UVOO Tech Wiki
Revision as of 01:03, 24 January 2019 by imported>Jeremy-busk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wordpress CLI

Automatic Updates for Wordpress Core & Plugins

from saltmaster

  • ssh numifex.io
  • ssh example.io
  • ssh cryptofex.io

basic setup with public http dir in

/var/www/html/

There are pros/cons for both enabling & not enabling. In general automatic updates save you from more hacks then they expose you too so enable.

https://codex.wordpress.org/Configuring_Automatic_Background_Updates

nano wp-config.php

add_filter( 'auto_update_core', '__return_true' );
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );

Fixes

Fixes cron in URL Issue

  • define('ALTERNATE_WP_CRON', false); # fixes url issue