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

Step 3. Installing the Plugin

You have to do this step manually as you would just get errors any other way.

  • Navigate to your WordPress multisite folder and go into wp-content.
  • Now create a new folder called mu-plugins
  • Take the WP Multi-Network.php file you downloaded and paste it into the folder.

Explanations the mu-plugins folder, has a special attribute to it, as any plugin that is placed into the folder would run automatically, no matter what, you can’t activate or deactivate the plugin either.

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.

Advertisements

2 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.

Comments are closed.