Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

You have tried to access an archived page. Please go to the new https://root360.atlassian.net/wiki/spaces/KB to find more documents.

The default setting for Wordpress has partial configurations that are not compatible with multi-server operation.

Table of Contents

Mandatory changes:

Disable Autoupdate in wp-config.php:

Code Block
languagephp
linenumberstrue
/* root360 disable AUTOUPDATE */
define( 'AUTOMATIC_UPDATER_DISABLED', true ); 

...

Changes for higher performance:

The default way of running the Wordpress cronjobs is a virtual cron that runs on every page call. Deliveries can be accelerated by installing the Wordpress cronjobs into the linux crontab. For this, the default Wordpress virtual cron must be deactivated and the Wordpress cronjobs installed into the linux crontab using your install.sh.

Disable the default Wordpress virtual cron in wp-config.php:

Code Block
languagephplinenumberstrue
/* root360 disable WP_cron */
define('DISABLE_WP_CRON', true);

Install the wordpress cronjobs into the linux crontab:

Code Block
languagephplinenumberstrue
echo "0 */5 * * * php -f wp-cron.php" >> wp-crontab
crontab wp-crontab
rm wp-crontab
Code Block