Skip to main content
WordPress made easy with the drag & drop Total WordPress Theme!Learn More

Convert a WordPress Blog Into a Multisite Installation

Last updated on:

Ever since WordPress 3.0 there has been the hidden option of turning your blog into a Multi-Site WordPress installation. It’s not something most blogs really require and it’s certainly not for the faint of heart. It is however, something that can be truly useful for websites that want to split their content into individual channels.

Before you think about converting your blog into a multi-site installation you should carefully consider why you want to do it. It will involve a little technical work to setup and maintenance is a little more involved than using a single blog.

If it’s something you want to do though, let’s discuss the process.

Why Would You Use Multi-Site?

As I briefly mentioned, there are a number of reasons that you would convert your website from a single blog to a multi-site website.

It’s a great way to allow teams and/or employees from your company to have their own blogs but have them as part of the same company domain. You can use it to give people distinct platforms to work on away from the main blog on your site that can be for official news.

It also comes with the added benefit of being centrally controlled by a Super Admin user and allows you to share themes and plugins across a number of blogs.

Alternatively, you can convert your website into something like WordPress.com for your users, allowing them complete individuality while also keeping a tight hold of the system security and management.

The joy of using multi-site is that each site you create can be completely distinct without having to go through the trouble of installing WordPress multiple times or adding multiple databases. That, in a nutshell, is the key selling point.

Configure Multi-Site

Setting up multi-site can be challenging but is straightforward if you know what you’re doing (which is why you’re reading this!). It requires the addition of various pieces of code in your wp-config.php file and your web server’s .htaccess file.

The WordPress Codex has a complete guide on creating a network version of WordPress.

Since you are converting an existing website, you have to use the subdomain option for multi-site. This is due to existing permalink issues. The WordPress team are investigating ways around this, but for the moment that means your multi-site blogs will be using a URL structure of blog1.mydomain.com and blog2.mydomain.com.

Now before you go any further, take a complete backup of your WordPress installation. You want a copy of the database and files just in case anything goes horribly wrong so you can rollback without any problems.

Now that you have a backup, it’s time to get started.

The first thing you need to do is download a copy of your wp-config.php and .htaccess file to your computer using an FTP program such as FileZilla.

ftp

Once you have them both saved locally, open then with your favorite text editor. The .htaccess file may be hidden so you will need to set your viewing options to include hidden files. Information on how to do this can be found from your Operating System help or by a quick Google search.

htaccess

Now we need to edit the local wp-config.php file. Add the following code snippet above the first line that begins with require or include:

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );

Once you have made the change, upload the wp-config.php back onto your web server, overwriting the previous version. When the file has been uploaded, log into the Admin Dashboard of your website. Before you can go any further you will need to deactivate all of the plugins you have installed. They can be reactivated once the multi-site conversion is complete.

After you have disabled the plugins browse to Tools > Network Setup.

In this section you choose your Network Name and the Network Admin email address. Click Install when you have made those decisions.

network-create

You are then given code specific to your site to insert into the wp-config.php and .htaccess files. Follow the instructions and add this code to the local versions of the files and then upload them to your web server, overwriting the existing files.

tools-network-created
One thing that may be worth noting is that the code required for the wp-config.php must be placed before the first line that begins with require or include just as it was with the previous code addition.

Once you have completed these steps, you will need to log back into the Admin Dashboard. It may be necessary to clear your browser cache for this to work correctly. This is now the Network Dashboard and once you’ve logged back in there should be a new item in the menu bar along the top of the screen. Where the name of your site was before should now display as My Sites.

network-admin-link

Here you can reactivate all your plugins as network-activated plugins and installed themes as network-enabled themes. That means they will be available for use with every site you create in this multi-site installation. This is also where you will add new plugins and themes in future so that you can then use them on every site if you choose to.

Creating A New Site

Add New Site

Now that you have configured the multi-site installation of WordPress you can now add new sites to the network. This is done in the Network Dashboard by clicking on Sites > Add New.

You then simply give the site a name and title and add the admin user email address. If this address isn’t already associated with a user, a new user is created.

As this is a conversion to multi-site and is using the subdomain options, you will need to add the subdomain entry into your site DNS that matches your new site name. If you can add this a few days ahead of time things will be much easier for you. If you haven’t already added this to your DNS, you should do that now before waiting for around 48 hours before continuing.

Once the DNS has updated, you can log into the new site dashboard and begin creating your content and managing the site plugins and themes as you would for any new WordPress Installation. You don’t have to use all of the plugins or even the same theme as the primary site.

You can repeat the above steps to add as many new sites as you want.


Converting an existing website into a multi-site installation comes with a few additional problems over a clean installation but it is a great way to add additional channels of content to your domain.

The limitation of having to use sub-domains for your sites is the only real issue when converting an existing website. If you would rather have your websites as folders at the end of your domain, you may be better creating a brand new WordPress multi-site installation and importing your existing website into it.

This process requires a whole post of its own which we may deal with at a later date.

Do you use WordPress multi-site? Did you choose to convert an existing website or did you simply start over with a clean installation? We’d love to hear about your experiences with multi-site and any management tips for running a WordPress network in the comments below.

quick-guide-wordpress-multisite-installation
Article by Tom Ewer WPExplorer.com guest author
Subscribe to the Newsletter

Get our latest news, tutorials, guides, tips & deals delivered to your inbox.

15 Comments

  1. Danny

    Hello, I am currently working on a new site in which we are going to use Multi-site. Right now the domain is pointed to a shared hosting account but we will be developing on a VPS we just purchased (dedicated IP). Typically I use a sub-directory on my website to create the design then use duplicator to transfer the site to the permanent domain. With Multi Site it does not seem like that is a possible solution. So my question is what is the best way to develop the site? Should I just use the dedicated IP address then when we are ready to go live change the IP to the domain via the database. Or should I just modify my hosts file to point the domain to the new IP address and design that way? Or, is there a better way to go about this?

    • AJ Clarke

      Why aren’t you doing the development locally on your computer?

      Using an IP wouldn’t be bad if you need to have the site live (maybe because of your client needs) then you can always use the script Search Replace DB to alter the IP to the live domain later. Multi-site doesn’t really need to be treated differently when moving it to another site. Especially if you have it setup using sub-folders.

      ps: You can still install an MS installation in a subfolder. It shouldn’t be an issue.

      • Danny

        I am working on this with two other people so doing a local build isn’t an option. Thanks for the suggestions AJ!

        • AJ Clarke

          Good luck dude!

          ps: I haven’t used it but I found this cool plugin (Go Live) the other day, it might be worth checking out. Not sure how it works MS though. I’ll prob get a version soon to test though because it looks sweet.

          • Danny

            Yeah I remember seeing that plugin the other day while I was browsing. I asked the publisher to verify if it would indeed work for multisite. Thanks again for your help! I’m looking forward to working with Multi-site. I am also setting up a global menu for the main site that will span across all the other sites. It’s going to be a fun project!

            • AJ Clarke

              Nice! I love multisite 😉 Good luck with your project!

              • Danny

                Me too, it’s very beneficial! We will have many people updating their ministries and with Multisite we don’t worry about them having complete Admin access. I will also be using White Branding Multi-site to help hide other options 🙂

  2. Hadyn Ranson

    Hello, please can you elaborate on adding to the dns settings?
    I have reached this step and im a little confused!
    I have logged into my 1and1 control panel and added my new subdomain (matching the ones i entered when i added a new site).

  3. igorbajic

    In the conclusion of this post, you said “… you may be better creating a brand new WordPress multi-site installation and importing your existing website into it. This process requires a whole post of its own which we may deal with at a later date.”

    Did you ever write that post? ‘Cause, that is exactly what I would like to do with my website, so a good tutorial would make me worry a bit less during the process 🙂

    • Kyla

      We do have a guide to WordPress multisite, however this article and the multisite guide are both from 2014. Most of the guide should be relevant, however I’ll make a note to update these in the next couple weeks 🙂

  4. Megan

    I currently use WordPress for my blog only, while my other site content is static. The site address (in our WP settings) is mydomain.com/blog – so if I wanted to convert it to a multisite, where the rest of my content would be on mydomain.com/ – would I still need to use sub-domains?

    Sorry if that question is confusing!

    • Kyla

      First off, no you wouldn’t use sub-domains. Because your structure is site.com/blog/ and you want to keep content in /blog/ that would be a sub-directory structure. A sub-domain structure would be if you wanted blog.site.com.

      However, if you are using the blog slug just for your blog posts and tag/category archives but you want to remove it from other post types like pages you don’t need to use a multisite it would be overkill and harder to manage, especially if you want to use the same design, menu and widgets for the blog as your other content. A multi-site is primary used for websites where you want to have many subsites with different designs, for example WordPress.com where you can create a free blog is a multi-site network where anyone can create their own site or if you are a theme developer like us you may have a multisite to showcase your demos where each subsite is a different theme demo.

      The ideal solution in your case would be to use a little code via a child theme or a custom plugin to simply modify the URL’s only as needed, it is possible and easy to add the blog slug only to your posts, categories and tags. This way you aren’t messing with a multi-site. You would be using the “post_type_link” filter to modify your post URL’s or use a plugin (there are a few free plugins out there that allow you to customize your site slugs, but I haven’t personally tested any so I can’t recommend any specific one). Then you would use the options for Category Base and Tag base under Settings > Reading to add the blog slug only to categories and tags. Once that’s done you should be able to switch the primary URL to just be your domain.

      The only concern would be if your site is currently installed in a “blog” subfolder on your server which may require a few extra steps. An easy way to check is to locate an image used in one of your posts and right click on it so you can open it in a new tab and inspect the URL to see if the blog slug is added, if so, it means your whole site is located in a blog subfolder which you may want to migrate so it’s in the root (public_html) folder of your server. And of course always backup your site before making changes just incase 😉

  5. Pavel Sedach

    Personally, i would never again use a multisite if you only have 2-3 sites. In my experience it slows down the loading time for users across the multiple sites and causes more plugin issues.
    If you have a need for it, do it. Otherwise it’s just added complexity with poorer support from the greater WP community.

    • Kyla

      Hmm… I’m not so sure about the slowing down aspect. WPExplorer is a multisite – we host our main blog, our Total theme and all of its related demos (with quite a number of plugins installed), features pages, etc right here. And everything is running fast and smooth if I do say so myself. However – I do think it’s very important though to be sure that your hosting plan offers enough resources to support your multisite. Luckily we have a great plan from WP Engine which is part of the reason why our sites are so fast 🙂

      • Haole Man

        I agree your site does seem to load very quickly for me.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how your comment data is processed by viewing our privacy policy here.