Setup WordPress Multisite Network Ultimate Guide

A multisite network is a collection of WordPress websites that all share the same WordPress installation. It is possible that the sites within your network share certain WordPress plug-in and WordPress Themes. Here we share step by step setup guide of WordPress Multisite Network.

The individual websites within your multisite = network are “virtual” websites. That means that these websites do not have their own directory on your server. Every site within the network does have its own folder for files that are uploaded and each site has its own tables in the database.

Setup WordPress Multisite:

We now assume that you want to use WordPress Multisite on an existing WordPress installation. If this is not the case, install WordPress first before you proceed. Please attention! Before you make the changes below, the first backup your WordPress website.

Adjust the wp-config.php file:

First, we are going to adjust the wp-config.php file. In this file, we will activate multisite. To do this, open the file and add the code below:

define ('WP_ALLOW_MULTISITE', true);

Paste the code above before this line: / * That’s all, stop editing! Happy blogging. * /.

activate WordPress Multisite Network

WordPress will now understand that you want to enable WordPress multisite.

Sub-domains or Sub-folders:

Once you have adjusted the wp-config file, a new option will appear in WordPress. You can find this under Tools> Network Setup (or Tools> Network Setup).

Network Setup

You will make the choice here whether you want the websites in your multisite network to run on your own subdomain, or in directories. Example:

Subdomain: http://website1.wplounge.nl/
Map: http://www.wplounge.nl/website1/

You cannot change this later, so make the right choice right away! If you opt for subdomains, make sure you have wildcard DNS records for these subdomains. For more information, contact your hosting party. You also give your network a name and enter your e-mail address as “Network Administrator”. Then click on “Install”.

Once you’ve done this, you’ll be taken to a new page where WordPress will tell you how to fully complete your installation. You now get a piece of code that looks something like this:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'wikisoftyt.com');
define('PATH_CURRENT_SITE', '/wikisoft/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

You also have to paste this code into your wp-config.php file. Make sure you remove the previously added piece of code as soon as you start adding this piece of code. To remove this piece of code:

define( 'WP_ALLOW_MULTISITE', true );

Once you have done this, your multisite WordPress installation should be ready. Your WordPress Multisite installation is now ready for use. You can create as many sub-websites as you want, and add as many users as you want. So you can set up your own blog network, just like WordPress.com.