Creating a WordPress Multisite

Posted in WordPress
Tags: ,

With WordPress multisite, you can essentially build your own blog network, similar to or Tumblr. Multisite is an integrated part of the WordPress core. That means you won’t have to download anything other than the official WordPress package to get set up.

Configuring the WordPress multisite feature

First you need to install for a single site, then after that install is done, you will edit wp-config.php to enable multisite. Also make sure all plugins are disabled.

Open up wp-config.php and add this line above where it says /* That's all, stop editing! Happy blogging. */. If it doesn’t say that anywhere, then add the line somewhere above the first line that begins with require or include:

After making those changes to wp-config.php, save the file and upload it back to your server.

Now that our wp-config.php file knows that we’re going to set up multisite, it’s time to run the network setup.

network_settings To install a network, start out by putting your mouse cursor over the Tools menu on the left-hand side of the WordPress Dashboard window and clicking on the Network Setup submenu item.


The page you’re taken to after clicking on the Network Setup submenu item is titled:
Create a Network of WordPress Sites.


From here, you can specify if you want to use a subdomain for individual sites or if you’d rather use a directory.

Specify your Network Title and Admin E-mail Address values and click on the Install button at the bottom of the form. After clicking on Install you’ll see a page with Enabling the Network in bold at the top, with some more named constants being defined also.


Copy and paste the code from the section 1 into your wp-config.php file and re-upload it to your server. Next, edit your .htaccess file. It should be in the same folder as wp-config.php. If the .htaccess file doesn’t exist, you can save a blank text file as .htaccess and upload it to your server.

Copy the Apache rewrite rules from the section 2 into your .htaccess file and upload it to your server, again, in the same directory as the wp-config.php file.

After you’ve uploaded your modified files, the setup of your multisite network is complete and you will need to log in again.

After you’re logged back in, you should see a My Sites link in the WordPress toolbar at the top-left corner of the screen. Put your mouse cursor over it and then click on the Network Admin item.


Doing so will take you to the network Dashboard window, which is similar in appearance to the regular WordPress Dashboard window but significantly different in content. This is where you can see the sites hosted by your new network. From here, you can add new sites, new users, or enable and disable themes and plugins.

Theme Management

You can install themes on a multisite installation the same way you would with a regular WordPress install. Just upload the theme folder to your wp-content/ themes folder to install the theme. Installing a theme is only part of the process for
individual blogs to use the themes; you’ll need to activate them for the entire blog network or for specific blogs.

To activate a theme for an entire network, click on Themes and then click on Installed Themes in the Network Admin dashboard.

Check the themes that you want to enable, select Network Enable in the Bulk Actions drop-down menu, and
then click on the Apply button. That’s all there is to activating a theme (or multiple themes) for an entire multi-site network. The individual blog owners can apply the theme just as you would in a regular, non-multisite WordPress installation.

To activate a theme for just one specific blog and not the entire network, locate the target blog using the Sites menu option in the Network Admin dashboard. After you’ve found it, put your mouse cursor over the blog URL or domain.

You should see the action menu appear immediately under the blog URL or domain. The action menu includes options such as Edit, Dashboard, and Deactivate. Click on the Edit action menu item and then navigate to the Themes tab. To activate an individual theme, just click on Enable below the theme that you want to activate.


Leave a Reply

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