MainWP Blog

Tips & Tricks
Sebastian Moran

How to Delete Inactive Users on Your Child Sites

Over time, users on a site can easily mount up on your child site. As part of a regular cleanup, you can delete inactive users on your child sites, using a couple of plugin options. The first plugin that can be used is the Inactive User Deleter. After the plugin has been installed and activated, it will add a new admin menu item under users in wp-admin; Users > Inactive users You can use different flags (e.g., if a user has approved comments/ if that user has spam comments). You can then filter out if the user was created longer

Enable Varnish on a Cloudways Hosted Child Site for WooCommerce
Tips & Tricks
Sebastian Moran

How to enable Varnish on a Cloudways Hosted Child Site for WooCommerce

Varnish is a fast server-side web application accelerator. A number of Managed WordPress and other hosts already have Varnish installed and make it easy to enable on your child sites. In this example, we are going to show how easy it is using Cloudways for enabling Varnish on your child site (which is using WooCommerce), then for setting the correct rules for Varnish all through an easy-to-use UI. First, login to Cloudways and then select the server which your child site is running on. Apps > Application Settings > General Settings By default, Varnish will not be enabled and you

Is WordPress Multisite a Waste of Time
Tips & Tricks
Sebastian Moran

Why Multisite is a Waste of Time

If you use MainWP for managing your child sites, you already have a way to update plugins, themes, and push different code changes to those sites without having to deal with multisite performance issues. Multisite allows many subsites to share common plugins and themes. In addition, all sites will end up sharing the same database and server resources. The downside to sharing database and server resources will be explained later. Multisite only database tables wp_site wp_sitemeta wp_blogs wp_blogmeta – New added in WordPress 5.1 wp_blog_versions wp_signups wp_registration_log Global database tables shared over all subsites wp_users wp_usermeta Whilst each subsite will

Tips & Tricks
Sebastian Moran

Using Artificial Intelligence on your MainWP Child Sites

“I’m sorry, Dave. I’m afraid I can’t do that.” ~ HAL900, 2001: A Space Odyssey (1968) Artificial Intelligence has long moved past something that existed only in sci-fi films and books. One of the biggest technology growth areas is AI, with many options that can be used on your child sites to either recommend content, to customers, or using AI to power a chat bot on site, which will give intelligent answers based on the customer’s questions. IBM is one of the many companies that has researched AI for decades. IBM Watson can power everything from healthcare, advertising, and call

How to use Action Log for MainWP
Extension Tutorials
Sebastian Moran

Using the Activity Log for MainWP Extension

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 to bulk install plugins on your MainWP Dashboard site. Next, you will need to install the Activity Log for MainWP extension on your MainWP Dashboard site. Once the Activity Log for MainWP extension has been installed, follow the setup wizard for which child sites where

Delete Expired Transients
MainWP Customization
Sebastian Moran

Delete expired transients automatically on all of your MainWP connected child sites

What are transients are and why WordPress uses them WordPress uses transients to store data, that can be retrieved short-term from the options database table. But the problem ends up being when different plugins are using transients, but then not deleting that data when it has expired. It can cause performance issues over-time and cause the options database table to group. So ideally you would want to delete expired transients on any of the MainWP Child Sites you manage to improve performance. Delete Expired Transients Log into your MainWP Dashboard site Go to the MainWP > Plugins > Install page Search for Delete

Looking for something?