Posted on Leave a comment

Using the MainWP Staging Extension for Testing WooCommerce Updates

Testing WooCommerce Updates

With the breaking changes for WooCommerce if running versions earlier than 3.5.x due to WordPress 5.x release, now is the time to create a staging site. A staging site can be used to test the active theme updates, the WooCommerce-related plugins, and the WooCommerce plugin. Creating a staging site allows you to test plugin updates…

Read more

Posted on Leave a comment

Using the Activity Log for MainWP Extension

How to use Action Log for MainWP

MainWP now has a very useful way to track changes made on both the MainWP Dashboard site, as well as tracking changes to connected child sites using Activity Log for MainWP extension. First, you will need to install the WP Security Audit Log plugin on all of the connected child sites, which is very easy…

Read more

Posted on Leave a comment

Using WP-CLI to Troubleshoot WP Cron Job Issues on a Child Site

Troubleshoot WP Cron Job Issues

Sometimes you will run into issues on your child sites which are being caused by active cron jobs. Cron jobs are recurring tasks that need to be run on a site. Most of the time, cron jobs are created by the active plugins (e.g., these cron events all running due to WooCommerce): woocommerce_cancel_unpaid_orders woocommerce_cleanup_sessions woocommerce_cleanup_personal_data…

Read more

Posted on Leave a comment

Why Use the wp profile WP-CLI Command?

wp profile - WP CLI Command

What is the wp profile Command in WP-CLI? wp profile command is designed for finding where and what is slowing a site down. As with any performance benchmarking, multiple runs will need to be used. Start by running the common commands for wp profile multiple times. This will help you find what is causing WordPress…

Read more

Posted on Leave a comment

WP-CLI wp doctor Command Why it Might Really Help Your Sites

WP-CLI - wp doctor

What is the wp doctor command in WP-CLI? wp doctor lets you easily run a series of configurable checks to diagnose what’s ailing with WordPress. Without wp doctor, your team has to rely on their memory to manually debug problems. With wp doctor, your team saves hours identifying the health of your WordPress installs by…

Read more

Posted on 1 Comment

What is the WP-CLI and why should I use it?

WP-CLI

What is the WP-CLI? The WP-CLI is a way of doing anything that you would be able to do in the back-end of a WordPress site in wp-admin, but using command lines. A number of hosts have WP-CLI installed on new servers. One great example is on Cloudways. Common WP-CLI commands If a client site…

Read more

Posted on Leave a comment

Disable WP Cron and use an external cron service for your MainWP Dashboard

Easy Cron for MainWP

The first step to use an external cron service like EasyCron to run MainWP crons, is this constant needs to be set in the MainWP Dashboard wp-config.php file. MainWP has a post which will help with this setting. define( ‘DISABLE_WP_CRON’, true ); For more information about WP Cron, see here. EasyCron is a task scheduler…

Read more

Posted on 1 Comment

Not Ready For WordPress 5 But You Still Need Security Updates For The WordPress 4

WordPress Auto Updates

A few days after the WordPress 5.0 release, the first security update (5.0.1) has been released which resolves vulnerabilities found in all previous versions of WordPress starting with 3.7. These vulnerabilities allow authors to alter metadata and delete files that they weren’t authorized to. Also, authors could create posts of unauthorized post types with specially crafted input which could…

Read more