MainWP Blog

Migrate from ManageWP to MainWP
Conversion
Sebastian Moran

Step by Step Guide to Quickly Migrate from ManageWP to MainWP

ManageWP is a Software as a Service (SaaS) platform for managing multiple sites, whereas MainWP is an open-source, self-hosted solution that prioritizes privacy for you and your clients when handling multiple websites from a centralized dashboard. Learn: Why Privacy for Your Clients is Important! Before moving forward, let’s learn a bit about the MainWP system. MainWP is a set of two plugins, “MainWP Dashboard” & “MainWP Child”. The MainWP Dashboard plugin is installed on a WordPress website from where you want to control all other websites. We recommend installing it on a fresh WordPress installation. MainWP Child, this plugin needs

MainWP Staging Extension
Extension Tutorials
Todd Jones

Create Staging Site(s) to Test Updates Inside MainWP Dashboard

I know it has happened to you before. You are updating your websites and that plugin causes a problem. Again. How many times has that happened? Maybe you are having some kind of conflict. It happens more than we want to think. Every week, you are taking care of your customer’s websites and something always seems to happen. You think to yourself, “I wish I had a staging site set up to test some of these plugin updates.” Never fear my WordPress hero friend! You can create a staging site for your client’s websites in a flash using the MainWP

MainWP How To's
Bogdan Rapaic

How to Update MainWP Child Plugin

To update the MainWP Child plugin, there are 2 simple methods: Stanard update method Update by overwriting the old version Stanard update method Once the MainWP Child plugin version is available, and after syncing your sites, the update will be available on the MainWP Updates page. To perform the update, follow these steps: Go to your MainWP Dashboard Go to the MainWP > Updates page Set the Show per updates option to per Plugin/Theme Locate the MainWP Child plugin in the list Click the Update All Button Update by Overwriting the old version Go to WordPress.org to download the latest

Tips & Tricks
Bogdan Rapaic

Remove Custom Branding for a Specific User on Child Sites

MainWP Child 4.0.3, released on October 1st, 2019, introduced one handy filter mainwp_child_branding_init_options that can be used to hide custom branding for a specific user on child sites. Let’s see the usage example: add_filter( ‘mainwp_child_branding_init_options’, ‘mycustom_mainwp_child_branding_init_options’ ); function mycustom_mainwp_child_branding_init_options( $option ) {        $current_user_id = get_current_user_id();        if ( $current_user_id == ‘1’ && is_array( $option ) && isset( $option[ ‘cancelled_branding’ ] ) ) {        $option[ ‘cancelled_branding’ ] = true;    }        return $option; } In this example, all custom MainWP Branding Extension options will be applied for all users no the child site except for the user with ID 1. Also, the filter

Testing WooCommerce Updates
MainWP How To's
Sebastian Moran

Using the MainWP Staging Extension for 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 without having to cause issues on the live child site. In the case of child sites using WooCommerce for e-commerce, this can mean a live site going down and causing a loss in revenue. The old mantra rings true for WooCommerce: Update on staging Test

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 Activity 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 WP

Protecting Child Sites From XML-RPC Brute Force Attacks
MainWP How To's
Sebastian Moran

Protecting Child Sites From XML-RPC Brute Force Attacks

WordPress in its core has a function called XML-RPC, which a limited number of plugins still use like Jetpack. More plugins used to use it when the only method would have been to use the XML-RPC. Most plugins now use the WordPress REST API to connect to a site to pull data from it, by either read or write access. XML-RPC is still targeted for brute force attacks on WordPress sites. A number of CDNs like Cloudflare and Sucuri will protect XML-RPC by default. Cloudflare even offers an easy way to redirect XML-RPC to the home page of a site

Troubleshoot WP Cron Job Issues
MainWP How To's
Sebastian Moran

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

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 woocommerce_cleanup_logs woocommerce_scheduled_sales woocommerce_geoip_updater delete_expired_transients delete_version_transients Cron Events There are ways to view all cron jobs on a child site by using a plugin like WP Crontrol. In this post, we are going to use the many options that WP-CLI has related to cron jobs. There

MainWP How To's
Sebastian Moran

Staying Positive in 2019

With 2019 upon us, now is the time to focus on the new year. One of the best ways to have a healthy mental attitude is to keep a positive outlook. Life will throw you a few curve balls, and how you deal with those really does improve how you can stay driven and happy in the year ahead while maintaining a positive mental attitude. Positive thinking is not a new concept; there are thousands of self-help books and seminars out there for the taking, but focusing your mind to think positive helps carry you through adversity and anything that

wp profile - WP CLI Command
MainWP How To's
Sebastian Moran

Why Use the 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 to load slowly on a site. wp profile stage This command will output a number of options in the table. They are broken down as: bootstrap is where WordPress is setting itself up, loading plugins and the main theme, and firing the init hook. main_query

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.