Skip to main content

What You’ll Learn

  • Installing the Wordfence extension and plugin on child sites
  • Configuring global and per-site Wordfence settings
  • Scanning child sites for security issues
  • Monitoring live traffic across your network

Integration Add-on - This add-on extends MainWP to work with Wordfence. Wordfence Security must be installed and activated on each child site you want to manage.
Installing the MainWP Wordfence Extension requires two steps:
  • Install and activate the add-on on your MainWP Dashboard site.
  • Install and activate Wordfence Security on your child sites.

1. Installing the Add-on

The MainWP Wordfence Extension is a WordPress plugin. Follow these steps on your MainWP Dashboard site, not on a child site:
1

Go to WP Admin > Plugins > Add Plugin

2

Click Upload Plugin

3

Click Choose File

4

Select mainwp-wordfence-extension.zip and click Install Now

5

Click Activate Plugin after installation

6

Go to MainWP > Add-ons > Manage Add-ons

7

Locate Wordfence Integration and click Enable

The add-on is now ready for use. Alternatively, upload the extracted mainwp-wordfence-extension directory to wp-content/plugins on the MainWP Dashboard site, then activate and enable it.

2. Installing Wordfence Security

Install and activate Wordfence Security on each child site that you want to manage through the extension.
1

Go to WP Admin > Plugins > Add Plugin on the child site

2

Search for Wordfence

3

Locate Wordfence Security and click Install Now

4

Click Activate Plugin

5

Sync the child site with your MainWP Dashboard

The MainWP Wordfence Extension can now detect and manage Wordfence Security on that child site.

Wordfence Settings

Global Settings

Go to MainWP > Add-ons > Security > Wordfence. The extension provides these network-level tabs:
  • Wordfence Overview
  • Options
  • Live Traffic
  • Blocking
  • Firewall
  • Scan
  • Diagnostics
Use the settings tabs to define network defaults. Saving a network settings section synchronizes that section to child sites that are not using individual overrides. Sites with Override general settings enabled keep their individual settings. If you install Wordfence Security on additional child sites, sync them and re-save each relevant network settings tab to apply the defaults.

Individual Site Settings

The extension also provides per-site Wordfence settings.
1

Go to MainWP > Sites > Manage Sites

2

Select the child site and open Wordfence in the site navigation

3

Open the Wordfence Options tab

4

Enable Override general settings

5

Configure the Wordfence Options, Live traffic, Blocking, Firewall, Scan, or Diagnostics tabs

6

Click Save Settings

Wordfence Dashboard

Go to MainWP > Add-ons > Security > Wordfence and open the Wordfence Overview tab. The sites table shows child sites where Wordfence Security is installed, including plugin status, version, visibility, last scan, and update availability.
  • If the plugin is inactive, the Activate Plugin action appears in the site row.
  • If an update is available, the Update Plugin action appears in the site row.

Available Actions

The row action menu includes Overview, Edit, Open Wordfence, and Hide Plugin or Unhide Plugin. For active installations, it also includes Scan Site, Live Traffic, Blocking, and Scan Results. Update Plugin appears when an update is available.

Important Notes

If you know that you have the plugin installed on a child site, but the child site doesn’t appear in the list, try to re-sync your sites.

How to Scan Child Sites With the MainWP Wordfence Extension

The Wordfence extension enables you to trigger the scanning process on child sites directly from your dashboard. To do this,
1

Go to MainWP > Add-ons > Security > Wordfence

2

On Wordfence Overview, locate the site and click Scan Site in its row action menu

Screenshot highlighting the Scan Site action in the Wordfence extension

Monitor Child Sites Live Traffic

To monitor live traffic for one child site from your MainWP Dashboard:
  • Open the Wordfence Overview tab.
  • Locate the child site and click Live Traffic in its row action menu.
  • The extension opens the live traffic view for that site.
Screenshot of Live Traffic view showing requests to a child site If live traffic is disabled, open the network-level Live Traffic tab, set Enable live traffic logging to All Traffic, and click Save Settings. If the site uses individual overrides, configure the same option from the site’s Wordfence > Live traffic tab instead.

Monitor Network Live Traffic

Open the Live Traffic tab on the Wordfence page to view traffic from active child sites in one place. Screenshot of Network Live Traffic showing combined traffic from all child sites