How to enable Multi-Site option in WordPress 3.0

Posted on April 8th, 2010 by in Tutorials | 89 Comments  
How to enable Multi-Site option in WordPress 3.0

WordPress 3.0 is when the big merge happens. The core of WPMU is incorporated in WordPress which means that you can now run multiple blogs from one installation of WordPress. This new feature is being called Network or Multi-site option. By default this feature is disabled. If you want to use this option in your WordPress, then you would have to enable it.

To enable this feature, simply open your wp-config.php file located in your WordPress root folder. Then add the following line anywhere in the file:

define('WP_ALLOW_MULTISITE', true);

Once you have done that, you should be able to access the network page from Tools » Network

WordPress Multi-site Option

Now, you no longer need to install multiple copies of WordPress because you can run multiple blogs from one installation. By default, you would only be allowed to run other blogs as a subdomain. To use other domains for blogs, you can use a Domain Mapping plugin.

About

Editorial Staff at WPBeginner mainly Syed and David.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
Rajandran 5 pts

How to enable mutisite features in wordpress 3.1?

It seems that Domain Mapping plugin is unsupported anymore. Are there any alternatives? Is it possible to setup domains manually using functions.php?

Thanks.

TerdpongMongsonti 5 pts

thank you for useful information that save my time!!

commodoregirl 6 pts

Hi. Here is a link for those wanting to know more on the capabilities for Wordpress MS. A really good video explaining how Multisites work. http://wordpress.tv/2010/05/31/boone-gorges-wordpr...

mattsfraser 6 pts

Thanks for this tutorial as I was wondering how to install WP MS and your article greatly assisted me in doing so. Much appreciated.

ggarvin 5 pts

I love the guide but I have run into a problem. I used your code and see the network option but I get the following message. <blockquote>"Error: Your WordPress address must match your Site address before creating a Network. See General Settings."</blockquote>

Is this because my wordpress folder is in a folder?

kvaud 5 pts

good afternoon,

I am setting up a wpms and am attempting to set up a subdirectory with Geo sites. When I attempt certain names - I get the rejected saying is an invalid name or path. Is there a limit on the number of characters in the secondary name?

thanks

PushpendraPal 5 pts

Thanks for full featured post on setting up WP-MS.Going to set it up on my new website.

webaran 5 pts

Great, Thanks for a useful post

snelborn 5 pts

i wnat to run WPMU on wamp can it work

Thats great, I just got to know that this facility is also available.

Cheers wpbeginner

Thanks for a useful post – I take it we still have to edit the wp-config file to activate the MU features for WordPress 3.1 as well?

Do all plugins that work on single WP installations also work for multisite?

Yes, you would still have to edit the wp-config file to enable Multi-site. All well-coded plugins will work.

Thanks for a useful post - I take it we still have to edit the wp-config file to activate the MU features for WordPress 3.1 as well?

Do all plugins that work on single WP installations also work for multisite?

Most popular plugins work with WP Multi Site.

When I try to add this "define('WP_ALLOW_MULTISITE', true);"
It create conflict with Google XML Sitemaps.. Getting this error msg"Google XML Sitemaps is not multisite compatible."
Any help really appreciates ....

Hi everyone. First time in this site.
I'm really interested in WP MS function but I'm not pretty sure if this is what I (we) need.

I'm the webmaster of a university's website and I wanted to install multiple WP in different sub-domains (like medios.uagricultura.com, biologia.uagricultura.com, escolar.uagricultura.com). Now, thanks to you, I find it may be possible to make a single WP installation and part from there but I need to have the main account of the installs plus one more guy/girl to administrate each sub-domain on its own and separate from the others ones. I mean, I need to administrate everything on demand but each section must have it's own administrator/theme/active-widgets.

Would you recommend me to make a single WP MS installation or to keep one WP per sub-domain?

I'm a little old in WP knowledge but brand new in the administration side of it. Thank you in advance.

The Multi-Site option is what you need. You can be the network admin, and you can have one guy or girl managing each specific subdomain. Each section will have it's own admin panel.

Thank you so much for the quick reply. I'll be working on this all the week. By the way. Love your site. I'll be here for a long, long time.

Kudos!

Thanks for Sharing this very important article for create WordPress Multisite.

Greetings - please excuse my basic question but does multisite work using different themes and entire domains? eg a www.xx.tv and a www.xx.com.au, accessed through the one administration section, where I can have a different look / theme for each domain?

I've always used godaddy so far for 1-click wordpress setup and hosting but am at a point where I need to setup 3 sites that each have a different theme and domain but ideally share content amongst them.

Would multi-site facilitate this or will I be recreating content / blog posts / pages in each 'instance' ? Thank you kindly for the information. I <3 WP :D

Yes Multi-Site allow you to use Domain Mapping (which lets you have two separate domains, two separate themes, two separate plugins etc). Godaddy is not the best host for this. Try using HostGator (coupon: wpbeginner).

Philip,
The staff here is right on. I have completed 3 Multisite installs on my HostGator hosting and it works great. GoDaddy is not the best place to host, in my opinion, much of anything. Have fun with Multisite!

AustinCambridge 5 pts

Can I just be sure about this response.

I want to have several sites using different themes so they all have their own domain/logo graphics but SHARE THE SAME CONTENT.

So add a pic or text and it appears on all the sites. Is this the same question or a variation?

Oh Thanks for information.

Drupal is worth a look too, maybe not a intuitive as Wordpress, and not so well supported, but good all the same. Wordpress does subdomains well though, if you can set up wildcards on your server (I think). I set up a WPMU once on a cpanel hosted site with no problems.

Edward, if you are running Wordpress on your own domain you are always in control. If you invest in Wordpress, then the worse case scenario is that the Wordpress community stop supporting it and you software stop being updated.

But if it works for you now, it will work in the future. Ok, there may be potential security threats raised in the future, but all you need is a sound backup plan and maybe a php developer to work on Wordpress for you. You site is independent of any core files on wordpress.org.

But in all honesty, Wordpress is probably one of the most durable CMS' out there. So many people use it, it will always be supported.

Thank you Jon, now i can assure you i will have good sleep today. Iam really wondering why i never discoverred wordpress before. php code has eaten almost all my brain cells for the last one year! and never never came 10% near what wordpress has done for me in three days! you guys out there keep up the good work.

Thank again. one more thing. how would you rate the security and reliability of running hundreds of subdomains on wordpress platform. since it seems wordpress has quite control on the programme. could wordpress one day decide to call it a day and ground all networks including my personal domain running hundreds of subdomains? in other words how independent is my network from wordpress?

Thanks for Sharing this very important article for create Wordpress Multisite.I followed all steps for Wordpress Multisite and i created on my own domain name.

Once again Thanks.

Am thankful for this blog. is it legal to create say 1000 blogs using wp with this technology and charge a little for maintenace and administrative work? is it possible to run ads from the main installation and they appear in all the blogs? or post announcements that appear in all blogs on my network? for instance can i place adsence ads that run on all blogs from one installation

Yes it is legal.

thanks so much for this .... really great tutorial.

i do have one question - is it possible to set up the sites so they have different languages? It would be great if the user could login once and blog across sites in multiple languages. i've previously been using multiple wordpress installs to do this which is not ideal.

I did this to one of my new websites, and it worked wonderfully. However, I want to do this to my blog, and I want the (sub-directory) feature. But it says this when I try:

"Because your install is not new, the sites in your WordPress network must use sub-domains. The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links."

Do you know how I would be able to do a "sub-directory" rather than a sub-domain?

Thank you, man. Worked like a charm.

I have one question. If I have MS working, do I need BuddyPress, too?

You don't have to get BuddyPress in order to use MS.

Hi,

Many thanks for the tips. These proved very valuable.

I had 3 websites and Worpress installed in each of the 3 folders. I have now enabled the multi-site and made 2 of the domains "hang under" the main domain.

My question: what happens to the WP installation in those 2 subfolders?

Will their version number hang at say 3.0 whilst the main folder gets updated to 3.1, 3.2 etc.

Is there not a security risk and unnecessary use of webspace ?

Many thanks for clarifying.

No, once you upgrade the major install, all others will get upgraded as well.

It may be soud a little bit crazy but with Wp MS it is possible to show below an post comments from same post published on a different website? I want a mobile site but with only one category of it to be the normal site.

Hi! I got WP3 and multi user installed. Everything seems to be in working order. I'm a WP beginner and my objective for this new site is to have 3 blogs to go along with my Home, Shop, About and Contact pages. Blog #1 will be main blog, Blog #2 will be a wine diary, Blog #3 will be ideas on ideas to recycle wine bottles. I will have a menu to go to all 7 of these pages (all on the same website). I'm building the theme for this site in Artisteer. I'm trying to figure out how to actually use this Multi Site feature in order to make this happen. Will it even work for what I'm trying to do? If you have any links or tips on how to use it (multi-sites) once it's installed that would be great too!! I appreciate your time and effort! Thank you!

Multi Site will surely work. WordPress Codex has an article on how to deal WPMU.

Anyone know how to enable the search across sites functionality? I need the subsites to be indexed in the search tool.

You need a plugin to do sitewide search. Here is one such plugin: http://premium.wpmudev.org/project/global-site-sea...

Whatever plugin you choose, make sure it works for the Wordpress/MU version you are using.

Thought I was crazy because I couldn't get it working and realized it was just my impatience... the sub-domain just needed to propagate.

I'm having the same problem as Rick Nieslen. I can create new sites but when I click on the link to activate it in the email I get page can't be found.

My host said they set my server up for wildcard domains but I'm not sure how to check that it actually is.

Could you do a tutorial on how to enabel a network using sub-domains. Especially on step 2 setting up wildcard subdomains for apache servers.

While searching for answers I did find a plugin that will perform steps 3 through 5 of http://codex.wordpress.org/Create_A_Network

The plugin can be downloaded from http://wordpress.org/extend/plugins/wordpress-mult...

I have just upgraded to 3.0 and was looking forward to playing with the multi-blog options. A little bit surprised that a manual modification of wp-config.php is required - why did Wordpress not put an option in the admin panel to turn it on?

Because not everybody needs it, and by putting an option there can confuse beginners.

Please help me understand what is wrong.
- firstly I create a subdomain using my CP hosting.
- I create a website using the dashboard and it's there under 'my sites'. When check the subdomain folder with my ftp client, its empty.
- I check /wp-content/blogs.dir/ and that's also empty (I have 777 the folder)
Are there files uploaded to the subdomain automatically or what happens?

You do not need to create each subdomains in the cPanel. WordPress does that automatically.

Tweets about us: