[WordPress] How to Enable MultiSite in WordPress 3.0 and Above

If you are familiar with WPMU then you will come to know about MultiSite. But WordPress MU is no longer a separate project as it is continuing development as part of the main WordPress branch. This new feature is now being called as Network or Multi-site option. This feature is disabled by default and if you like to use this option on your site then you would have to enable it. In this tutorial you will learn about what is multisite and how to enable multisite in wordpress.

What is MultiSite?

Multisite is a new feature introduced from wordpress 3.0 and above, which has the ability to manage multiple websites from single installation of WordPress.

With just one installation of wordpress you can manage all the subdomain of your site from a single dashboard. You can also set different themes, different plugins, manage authors etc., for each individual sub domains.

Note: Before you proceed to enable multisite feature in wordpress take a complete backup of your wordpress site.

Read this tutorial on how to automatically backup your wordpress blog.

How to Enable Multisite in WordPress

1. Login to your hosting cPanel. Go to “File Manager” and open wp-config file located in your domain’s root directory.

Once you opened the file enter this line just before where it says,

/*That’s all, stop editing! Happy blogging.*/

define(‘WP_ALLOW_MULTISITE’, true);

The above code turns on the MultiSite option in WordPress. Log out and again login to your WordPress dashboard for the MultiSite option to take effect.

 Enable MultiSite in WordPress 3.0 and Above

2. You have to setup the network now. After you login to the dashboard go to “Tools” available on the left side of the admin panel.

You will find “Network Setup”. Click on it. You will then be taken to a page where you have to continue with the network setup.

3. In this step you need to choose whether your site would like to appear as a subdomain or as a sub directory. The difference between sub directory and sub domain is,

Sub Directory would appear something like this:

http://etuts.org/blog

And Sub Domain would appear something like this:

http://blog.etuts.org/

It is left to you on how you like your site to be appeared. Choose this wisely as once chosen and installed it cannot be changed.

Note: If you select Sub domain then you need to configure your wildcard DNS. If not the subdomain may not work.

If you have chosen Subdomain then follow this step, other wise skip to Step 4 (if you are using Sub Directory).

Note: Your hosting should support wildcard sub domain. Ask your hosting provider whether they provide wildcard set up.

a) Login to your hosting cPanel. Click on Subdomains.

How to Enable Multisite feature in WordPress

b) In the subdomain column type “*” and select you domain name. Type the document root as public_html/yourdomain.com. Click “Create”.

How to Enable Multisite in WordPress

4. If you are done with choosing then click on “Install”.

How to Enable MultiSite in WordPress

5. You will now have to perform 3 steps. Creating blogs.dir folder, copying the given lines of code to wp-config and .htaccess files. We will see how to do them.

Enable Multisite Feature in WordPress

a) First go to your site root directory. Open “wp-content” folder. In that folder you can see themes, plugins and other folders. Create a new folder named “blogs.dir”.

How to Enable Multisite in WordPress

b) Now copy the content in the first block and paste it in “wp-config” file located in the root directory of your site. Paste them just before the line which says,

/*That’s all, stop editing! Happy blogging.*/

c) Similarly copy the content from the second block and paste it in “.htaccess” file located in the root directory of your site. If that file do not exists create one.

Note: While you paste the code in .htaccess file replace all the existing rules in the file.

After you have successfully completed the above 3 steps click on “Log in” link available at the bottom.

6. After you have logged in you will have Multisite enabled WordPress site. You can have control over the site network by going to “Network Admin” available near the log out button at the top right.

How to Enable Multisite Feature in WordPress Admin

You can add the site by click on “Add Site” and you can also install themes, plugins from the Network Admin itself. Play around with the setting and you will come to know about Multisite.

Let us know if this tutorial helped? We need your feedback to make more tutorials.


Comments

comments

Share this Post :

No comments yet.

Please Post Your Comments & Reviews

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