Plugin in “mu-plugins” folder won’t load on sub-sites in WordPress Multisite

By Posted in - Blog Post & Wordpress plugin on May 18th, 2017 0 Comments

Today I had an issue where I dropped a plugin into the “mu-plugins” folder on a WordPress multisite installation, and the plugin failed to load.

After doing some digging, I discovered that certain plugins need additional help to load.

The solution in my case was to add a file called “load.php” to the “mu-plugins” folder with the following php code in it:

<?php // mu-plugins/load.php
require WPMU_PLUGIN_DIR.'/my-plugin/my-plugin.php';

(Make sure to change “my-plugin” to the new plugin’s folder name.)

Works like a charm now!

Is this helpful?

Comments are closed.