How To Install & Setup A WordPress Multi-Network on XAMPP

Obviously you’re going to be wondering, what is the difference between a WordPress Multisite and a WordPress Multi-Network. The best way to explain it would be with the use of an analogy. A single WordPress installation is like a home, you own it, you make all the decisions about it; A multisite is like a town home or an apartment building, you have neighbors and a landlord, you still get most of the features of a home, but you get a few more, like better security, reduced cost, but a few tradeoffs might be you can’t go out and remodel your apartment without getting permission from the landlord; A multi-network, is like the entire town, so you’re the mayor, you control everything that goes on, and you might have several apartments or town homes in your network.

Suffice it to say, a multi-network install takes a lot of resources, but don’t start fretting, it’s not that much. Like I said in the last tutorial, be sure to ask yourself if you in fact even need something like this, if the answer is yes then proceed.

If you have installed a multisite, then you have completed the majority of this tutorial already, and I will be going on the basis that you have a multisite installed on your test bench.

Step 1. Prepare your multisite

Like I said in the last tutorial back up your files, database and plugins, and your posts. Once all that is done let’s get cracking.

Step 2. Setting up Multi-Network

For this tutorial I used the WP Multi-Network plugin, now before you go ad download the plugin you should note… the plugin that is up on wordpress.org DOES NOT WORK. Instead go here and download the plugin

http://plugins.trac.wordpress.org/raw-attachment/ticket/1356/wp-multi-network.php

That would give you the fixed version created by Alan Tait

Since the writing of this tutorial, the WP Multi-Network plugin has since been updated and you no longer need to use the Alan Tait Fix, as that fix no longer works.

Step 3. Installing the Plugin

Simply download and install the plugin like you would any other plugin

Step 4. Setting up A Network

The plugin’s dialogue box should show up, somewhere in the admin panel (I can’t remember where exactly, but it will say “networks”)

Once you find it, you will be presented with a screen to enter a few details (network name, site name, URL) that sort of thing.

Now the important thing there is the URL, it should point to the same folder as your WordPress multisite install, if it isn’t prepare for stress as it isn’t going to work and you’re not going to know why.

Step 5. Finishing up

Once you have created your network successfully, you can navigate to the new network. By default, you would have to sign in to the new network, but nothing would change, same username and password.

The admin interface is exactly the same as a WordPress multisite, but all of your networks show up as well.

#Update 10/04/2017 – Fixes outdated tutorial step

Advertisements

7 Replies to “How To Install & Setup A WordPress Multi-Network on XAMPP”

  1. Thanks for the comment and yes your problem was very clear.

    I personally have never configured a multinetwork / multisite which required different levels, it’s hard to say. Theoretically it can be done, but the only problem I could warn you about is that buddypress would behave strangely / misbehave for that matter, because buddypress in a simple multisite blankets the installation, but in a multinetwork, each network has its own data, so when you start creating levels, I don’t know how it would take such a setup. Remember that each site created with the multinetwork plugin, is essentially a completely separate WordPress blog, but it shares user information across the installation just as if it was just a regular multisite setup.

    Other than that issue, It should work, but do test it extensively, and if you happen to get buddypress working, be sure to post your findings, I will take a look at it and see how it goes.

  2. Hi Delano,
    I am following your tutorial, but i am getting errors.
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/mysite/public_html/wp-content/mu-plugins/wp-multi-network.php on line 603 and defined in /home/mysite/public_html/wp-includes/wp-db.php on line 1291.
    How do I get this fixed?

    1. Hey Michelle,
      I am not sure if it’s still possible to create a WordPress multinetwork, this tutorial is several years old, but I will look into it and update the tutorial

  3. Thanks Delano.

    could you maybe do a tutorial on setting up a multinetwork form installing the plugin to configuring it to work with both subdomains and subdirectories. DNS is not working so I am lost as tutorials are not regularly available.

    Please and thank you.

Leave a Reply