Converting Single WordPress Installation to a Multi-site Installation

A few things you need to know before proceeding

1. Multi-site works only on the primary domain – that is, it will not work on an Add-on domain

2. If you are planning to use seperate domains for your multisites then there will be additional steps in additon to what it given in this tutorial.

Steps:

Update wp-config.php

Download wp-config.php.

Add the following line

define('WP_ALLOW_MULTISITE', true);

just above this commented line  /* That’s all, stop editing! Happy blogging. */:

This will activate the multi-site capabilities of your wordpress installation.

MS-FIG-1

Save and upload the updated wp-config.php file.

You will need to log out and log in back for the next steps.

Setting up your Multi-site structure: Sub-domains OR Sub-directories

After logging back in you will find an option ‘Network Setup’ under ‘Tools’ Menu. If you do not see that option, something has gone wrong during setup and you will need to check out the steps outlines above thoroughly.

Click on ‘Network Setup’ to continue.

ms-fig-2

 

Chose Sub-domain Or Sub-directory for your Multi-site structure. There are pros and cons to both structure.

Sub Domain structure will allow you to set up multi-sites as site1.yourdomain.com, site2.yourdomain.com etc. – this is a good structure if you are considering installing thematically separate sites.

Sub Directory structure is good for grouping thematically similar blogs and allocating each blog to a sub-directory.

Chose wisely as you can not change it later.

Sub Domain: Your hosting account must support Wildcard Subdomain/DNS setup. If you are using Cpanel then this is how you can set it up. This process can vary from host to host. Contact your hosting provider for help.

Once you have chosen the structure click install.

On the next screen you should see a page with further instructions for creating the network. You should back up your .htaccess and wp-config.php files at this point.

Next – Add the lines of code that your installation screen given into your wp-config.php file.

ms-fig-3

Save and upload the updated wp-config.php file.

Next – add the generated rules to your current .htaccess file, replacing the existing rules.

Save and upload updated .htaccess file.

Logout and login. You should get options to manage your network now:

ms-fig-4

ms-fig-5

 

Post your queries and comments below.

 

VN:F [1.9.12_1141]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.12_1141]
Rating: 0 (from 0 votes)
Converting Single WordPress Installation to a Multi-site Installation, 10.0 out of 10 based on 1 rating
This entry was posted in General, Web Development, Wordpress. Bookmark the permalink. Both comments and trackbacks are currently closed.