How to enable WordPress 3.0 to run multiple websites

By Matt Dunlap on June 17th, 2010 3 comments
Tags: , , ,

WordPress 3.0 has merged single user WordPress and WordPress Multi-user together. I’m still a little scared about the merge because I mostly run WPMU sites. There is a section in the codex to create a network but I found it very confusing.

My WPMU websites that are running WPMU 2.9+ all received the upgrade notification and download link for wordpress-mu, it was a different download link then the download link you will get from a normal WordPress 2.9 blog.

According to the codex, the wordpress-mu download already has the network configured.

Download WordPress-mu 3.0 here. I noticed that mu.wordpress.org still has a 2.9.2 download link.

Download WordPress 3.0 be going to wordpress.org.

This tutorial is for the a person with a normal WordPress 3.0 blog then wants to enable many websites.

Step 1 – Do a normal WordPress install

The codex makes it sound like you make the changes before the install, but you don’t. Do a normal install, and then log into the admin section. It will look like a normal WP admin section. Click on the Tools menu item and you will NOT see network.

Step 2 – Configure wp-config.php for multisite.

Open the wp-config.php file, located in the root of the install directory and add this line to it.

define('WP_ALLOW_MULTISITE',true);

how to define multisite wordpress 3.0

Save the file and refresh the admin section.

You will now see “network” in the Tools menu

Step 3 – Choose your domain mapping.

network settings for wordpress 3.0

I prefer subdomains, and I’ll be posting some blog posts later on how to run WordPress with Top level domains soon. I don’t think you can do that with folders. In order to run subdomains, you need to have the main domain name set up with a wildcard DNS. You set the wildcard at your domain name registrar. A wildcard is simply *.domainname.com, which allows for anything to be used as a subdomain. After you set the wildcard on your domain name, you might have to wait a few hours before the wildcard takes effect.

Step 4 – Reconfigure your website

Make a new directory called blogs.dir in wp-content. Give it Web Server access because WordPress will store all the files uploaded by users to the directory. DO NOTgive it 777 permission… If you need help with setting Web Server access, just let me know, I’ll help you out.

After you choose your domain mapping, you will be given a few lines to copy back into your wp-config.php file. You can remove the old define of WP_ALLOW_MULTISITE. I think that displays the network link, so leave it if you want, even though you cannot reconfigure your domain setttings after you add websites. You will also update the .htaccess file. You only copy the new code above the line that says “# add a trailing slash to /wp-admin”. Leave everything after that line.

Save the .htaccess file and refresh the page, you will have to login again, but this time you will be Super Admin, and believe me, it will feel good!

To test things out, go to Super Admin->Sites and try to create a new website. Should work fine.

That’s it for this tutorial, I see I’m going to have to do some learning because WPMU used sites and blogs for different uses. while WordPress 3.0 looks like it only defines sites… This should be interesting.

I’ll be testing top level domains on this install, so stay tuned to that tutorial.


My next post is going to be awesome... Subscribe to my feed so you don't miss it

Large RSS Feed Button


Previous Post Next Post

3 Responses to How to enable WordPress 3.0 to run multiple websites


[...] If you haven’t set up WordPress 3.0 to create a network, follow this tutorial I made. [...]

Thom Living Green
Comment added: 29 July, 2010 at 10:18 am

I followed your instructions and it worked just like you said. I now have a secure wp 3.0 mu set up at http:// trickortreat.cyberspace4u.com

Niall
Comment added: 6 August, 2010 at 2:27 am

Thanks for this one Matt…did it and upgraded with no problems

Post a Comment

Name:   
Email:   
Website:   
Comments:   
alert icon Do you need help with your website? I can offer full system admin, website development and Internet marketing services
Domain Name Deals
.COM for $1.99
With any non domain name purchase
Free Private Registration - When you buy or transfer 5 domains at opendls.com
Domain Name Reseller Accounts
Low buy rates - Very Profitable
Matt Dunlap on Why am I getting redirect loop errors with FireFox 3.6.8?
Hi, thanks for the heads up... Have you experienced this problem with any other websites? It's reall[...]
Stacy on Why am I getting redirect loop errors with FireFox 3.6.8?
I was attempting to follow your links to these tutorials from your youtube video, and I was using th[...]
Matt Dunlap on 301 redirects will lower your Google Pagerank
You want 301 redirect on same site redirects mainly to eliminate duplicate content. For example, if [...]
Kate Mag on 301 redirects will lower your Google Pagerank
great info. Does this mean that only affecting 301 redirect to another domain. I have 301 redirect t[...]
Mike Johnson - Real Estate Agent on Why is making extra money a bad habit?
Hey man, this is some great stuff. The only thing I can't figure out is why this sort of thing isn'[...]

Top Guest Bloggers

LoneWolf
View Posts | RSS

Guest Bloggers Welcome!


Powered By: Free Premium WordPress Theme | Copyright 2007 - 2010 mattdunlap.org Sitemap