WPMU Enterprise
WPMU-Enterprise allows the site admins to have multi, multi-user blogs on one install of wordpress.
Objective:
Starting with WP 1.5, many of us had to find a solution to upgrade/manage mutiple sinlge wp blogs. This was solved with the release of wpmu. From there, many of us then had to figure out a way to upgrade/manage multiple mu blogs. This is an attempt to solve this problem.
Features:
- Multiple MU blogs ex. domain1.com, domain2.com, subdomain.domain1.com, etc.
- Different site admins for each mu blog.
- Different mu blogs are maintained as companies
- Each site admin is given it’s own company to manage blogs, sites and users.
- Domain name mapping
Requirements:
WPMU 2.6.1
Pros:
- Manage multiple mu-sites with one wordpress install.
- Assign site admins to companies and restrict their access to blogs, users.
Cons:
- You have to edit 3 core files.
- Can only be used if you are using subdomains.
Download: http://realestatetomato.com/wpmu-enterprise
I would love any and all suggestions/comments.
=== Installation ===
1. Upload admin-plugins folder in to your wp-content ex. /wp-content/admin-plugins
2. Upload wpmu-enterprise.php in to your mu-plugins directory ex. /wp-content/mu-plugins/wpmu-enterprise.php
3. Edit /wp-admin/wpmu-edit.php
Find -> spam = ‘".$_POST['blog']['spam']."’
add a comma after that line and then,
add on the next line -> company_id = ‘".$_POST['blog']['company_id']."’
4. Edit /wp-admin/includes/user.php
Find -> $user->yim = wp_specialchars( trim( $_POST['yim'] ));
add on next line -> if ( isset( $_POST['company_id'] ))
$user->company_id = wp_specialchars( trim( $_POST['company_id'] ));
5. Edit /wp-includes/registration.php
Find -> $data = compact( ‘user_pass’, ‘user_email’, ‘user_url’, ‘user_nicename’, ‘display_name’, ‘user_registered’);
And make it look like -> $data = compact( ‘user_pass’, ‘user_email’, ‘user_url’, ‘user_nicename’, ‘display_name’, ‘user_registered’, ‘company_id’ );
6. Finally if you want your upgrade script to loop through all of your blogs edit /wp-admin/wpmu-upgrade-site.php and remove -> site_id = ‘{$wpdb->siteid}’ AND
=== Unistall ===
1. Delete the folder -> /wp-content/admin-plugins/
2. Delete the file -> /wp-content/mu-plugins/wpmu-enterprise.php
3. Undo all of the edits you might have done above.
=== Usage/Theory ===
Once you install this plugin, you will now have three different concepts.
1. Companies
2. Sites
3. Blogs
A company allows you to assign users and blogs to a company so that the user can only edit the blogs/users under that company and child companies of that parent company.
Sites are defined by them being on their own domain. domain.com, domain2.com, domain3.com, are all considered sites.
Blogs are subdomains of the sites. sub1.domain.com, sub2.domain.com, sub3.domain.com are all blogs of the site domain.com.
- How to create sites -
Let’s say you have your MU WP 2.6.1 set up on domain.com.
You have sub1.domain.com, sub2.domain.com, sub3.domain.com, sub4.domain.com.
The blog sub3.domain.com really wants to have their own MU blog set up.
Simple.
First make sure that you change the A records of the new domain name that you wish to add.
You can check if your a records are correct by going to Site Admin -> Check The A Record.
If the A Record is correct then you can go to Request a Domain Change and submit the request.
You need to fill in your current domain ie. sub3.domain.com and the domain you want, ie. domain2.com.
The email will be sent to the site admin with the username admin.
If you are the main site admin (username admin), you don’t need to submit the domain request.
It is going to get emailed to you anyway ![]()
You now have to add the new domain name to your httpd.conf file and then…
First go to the backend of sub3.domain.com.
Then go to Site Admin -> Domain Change
Follow instructions.
You just created a Site. If you did everything correctly, you can now add blogs off of that site.
ie. sub1.domain2.com, sub2.domain2.com, etc.
=== Still To Do ===
Lots.
Any input, new ideas, new features are all welcome.
Any questions, you can email me at jason (at) real estate tomato (dot) com.
Our Most Recent Blog Articles

- Steve Beam – Real Estate Blogging Success Profiled
- The following is the first in a series of brief interviews with a handful of Tomato clients that volunteered to chat...
- continue reading

- How To Ensure Your Success As A Real Estate Blogger – The Infographic
- It took a lot longer than I had anticipated to design the infographic, so I hope you all enjoy it! Below you will...
- continue reading

- Real Estate Blogging Without Typing – Speech Recognition Actually Works!
- This article was composed (almost) entirely using Microsoft's speech recognition program in Windows 7. I dictated directly into the WordPress...
- continue reading