Running multiple sites with one installation and one central management. Also known as network and WPMU.

learn more… | top users | synonyms (4)

6
votes
3answers
4k views

WordPress sharding: which multi-DB plugin to use?

I've got a WordPress multisite installation that's hosting enough blogs I need to shard the database. I see there are three plugins available to spread WordPress across multiple databases: ...
6
votes
1answer
649 views

Uninstall script for a plugin in Multisite

I've just realized that the traditional uninstall.php file along a plugin is not working in Multisite. if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit(); delete_option( 'plugin_option_name' ); ...
6
votes
3answers
346 views

multisite: use a virtual subfolder for subblogs

For our school, we use a wordpress network. The main domain gives access to general information and sub-sites are specific projects managed by students. I would like that all sub-sites have their url ...
6
votes
1answer
258 views

Can a multisite's blogs be accessible from two different sub-domains?

Quick Background: We have a single WordPress instance, with Multisite enabled, hosting three separate blogs. (blog.example.com/blog1, blog.example.com/blog2, blog.example.com/blog3). This multisite ...
6
votes
3answers
7k views

DB connection error after copying a WordPress Multisite instance to a second location

Here's my setup. I have a Multisite instance running at http://example.com, and I want to do development and staging. Moving an existing Multisite instance of WP onto localhost is a nightmare, so I'm ...
6
votes
1answer
273 views

How do I transition multiple installations to a single Multisite installation?

I have a client who runs 8 different blogs, currently on 8 separate installations of WordPress. I'm trying to encourage them to move to a single MS installation instead to make it easier (mostly on ...
6
votes
5answers
4k views

How to hide admin account in BuddyPress? (for security reasons)

I have been working with WordPress for the past 3-4 years, but I am new to BuddyPress. I would like to hide the admin account completely from BuddyPress for security reasons. For example with a ...
6
votes
2answers
1k views

Multisite htaccess on localhost with WP as an SVN external?

I've mimicked Otto's setup here: http://ottopress.com/2011/creating-a-wordpress-site-using-svn/ and my brief example is below. That tutorial is specific to a single site install, and specifies a ...
6
votes
2answers
323 views

How to check if image is already stored in a site's post database? (network)

I currently have configured Wordpress so that a post can be copied to other sites within a Wordpress network. However, a post may be broadcast more than once, and I want to check if the image is ...
6
votes
1answer
208 views

Issue with Custom Roles in Multisite

So I've been going through hell with Custom Roles. I will try to be as descriptive as possible, to highlight my issue. Before anyone mentions it - I would like to avoid using a plugin, since that, to ...
6
votes
0answers
845 views

WordPress MultiSite Active Directory integration and site privacy

Here's the overview of the setup: I have a multisite installation of WordPress 3.4.2. I've installed the Active Directory Authentication Integration plugin ...
5
votes
2answers
4k views

How to do I get a list of active plugins on my wordpress blog programmatically?

I have 2 blogs, one which is multisite and one which isn't. I want to get a list of plugins active on both the blogs so I can compare them. On the multisite blog, I want to list the plugins which are ...
5
votes
3answers
362 views

Steps for Moving Multiple WordPress Installs to a Multisite Install?

(Moderator's Note: Original title was: "Steps to move multiple wordpress installations to a WP MU installation") Any tips on moving multiple WordPress installations to a single Multisite[1] ...
5
votes
3answers
777 views

Set default avatar network-wide

I've seen plugins and snippets on how to set a new default avatar for a site. I'm wondering if this can be done network-wide, such that every new site on the network will have the network's avatar as ...
5
votes
3answers
814 views

Basic Multisite Question - Managing Content Centrally

Is it possible to manage content on multisite installations centrally? If I have a network of 20 sites, is it possible to change the content on one site and have it update across the network, or will ...
5
votes
2answers
3k views

Can I set some default pages to be created on every creation of a new blog

The pages like "about" will be created automatically when a new blog is created. Likewise I need some other pages which should appear automatically when a blog is created under my multisites. How can ...
5
votes
2answers
3k views

Where is the robots.txt stored for a WordPress Multisite install?

Google Webmaster Tools can see it, but I can't find it. Any idea on how it's generated or where it is the file structure? I don't see the file in my root. My website is at http://mikewills.me and the ...
5
votes
4answers
2k views

How do I get /blog on my WordPress multisite

I have a 3.0.1 site with MULTISITE enabled and would like one of the sites to live at /blog, but when I try to create a new site with that path, I get this error: The following words are reserved for ...
5
votes
2answers
783 views

How to Display Network Post Count?

Is it possible to display the total post count for all blogs in a Network? get_blog_count and get_user_count do so for blogs and users, but I can't find any methods to do so for post count.
5
votes
3answers
4k views

How to list all network sites on one page

Can I list all the blogs in my network on one page?
5
votes
2answers
3k views

BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?

I've been trying to figure out why we have the constants BLOG_ID_CURRENT_SITE and SITE_ID_CURRENT_SITE (vs. hardcoding them to be equal to 1), what exactly the differences are, and when either of them ...
5
votes
2answers
4k views

Can upload doc and pdf but not ppt - not permitted for security reasons

"Insert search engine here" was pretty useless for this one - I've had a look through wp-includes/functions.php, wp-admin/includes/file.php etc. but not found a reason for the behaviour I'm getting. ...
5
votes
2answers
6k views

How to get blog name, when using Wordpress Multisite

I have a wordpress multisite installtion with 5 sites within, the multisite is called Lifestyle Homes Cars Architecture Holidays Communities I am trying to get the blog name, for each blog when ...
5
votes
1answer
516 views

Is there any central control/access panel for several WordPress sites?

We have many WordPress sites on different hosts with different domain names. Is there any solution for accessing all posts and settings with a central management tool? It's been very hard for us ...
5
votes
1answer
3k views

Using one media library for a multisite network with Wordpress 3.5 media library

I'm currently looking to modify Wordpress so that it always uses the primary site for images. I am achieving this using: function use_main_blog_library() { echo "<script>alert('is ...
5
votes
2answers
283 views

What is wrong with using add_option with Multisite instead of add_blog_option in a plugin

I'm working on a new plugin but it's my first to save which will save an option to the database. Currently I'm using add_option and I assumed that - activation would fail or - the wrong value would ...
5
votes
3answers
2k views

Changing Plugin Load Order

I'm writing a plugin, bar, which is dependent on another plugin, foo, being activated, and I need the functions from foo to be available when bar loads. Normally plugins are loaded in alphabetical ...
5
votes
1answer
1k views

How Is Network Activate Different From Activate (by Implementation)?

How is plugin network activate different from normal activation by implementation? What is done/not done in network activation that is done/not done in activation?
5
votes
1answer
83 views

Network not displaying all sites and users

We have more than 10,000 users and blogs on our wordpress network. There are 2 problems: admin blogs listing wp-admin/network/sites.php only displays 1 page, no pagination, not displaying all blogs ...
5
votes
1answer
157 views

How to run an activation function when plugin is network activated on multisite?

I'm trying to make my plugin multisite compatible. I'm using the register_activation_hook() function to register my my_activate() function to run when the plugin is activated. This works well on a ...
5
votes
3answers
668 views

Prevent network activation of plugin

I have a plugin that currently doesn't support network activation. The best fix for this of course is to fix it :) which I plan to do. However I wonder if there is a temporary solution I can use to ...
5
votes
1answer
660 views

Allowing periods in usernames

I have a multi-site installation of wordpress currently running, and I am having some problems with user registration. Currently, I use an external authentication plugin (similar to LDAP i guess) and ...
5
votes
2answers
326 views

How to set configuration options for particular sub blogs?

Is it possible to set configuration options such as DEBUG mode only for specific sub blogs in a wordpress multisite installation? If so, how?
5
votes
1answer
840 views

Programmatically create blogs with dummy content on a WPMU site

I'm trying to set up a WPMU test environment with 5-6K blogs, lots of posts comments, users etc. Browsing trough the WP's functions, I picked up wp_insert_post, wp_insert_comment, ...
5
votes
4answers
2k views

What is the best way to load the WP environment in a subdomain of my multisite Wordpress install?

I have a subfolder install of WP multisite, let's say at "domain.com". I now need to load the WP environment in subdomains of domain.com, say "sub1.domain.com", "sub2.domain.com", ... ...
5
votes
2answers
2k views

Using same directory for storing all uploaded images on a Wordpress network

I currently use a Wordpress network in order to run a number of sites, which all use the same template, plugins and images. As posts appear on a multiple sites, it makes sense to only upload images to ...
5
votes
3answers
181 views

What methods should be used to fend off splogs in a multiuser install? [closed]

We're running 3.1.1 multi-user with the latest BuddyPress plugin, but we're having all sorts of issues with splog signups. So far, we've started using Anti-Splog, Bad Behavior, ReCaptcha on the ...
5
votes
1answer
143 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
5
votes
1answer
807 views

How to set up wordpress domain mapping on MAMP Pro

I am trying to set up a wordpress multisite with MAMP Pro that will allow me to have two different domains (one domain for each language): dev.domainenglish.com dev.domainfrench.com I have already ...
5
votes
2answers
2k views

WordPress 3 Multisite using subdomains.- DNS on Cpanel question

using google to search for answers to how to setup a cpanel"based" domain to use with WordPress 3 Multisite using subdomains (subdomain1.domain.com, subdomain2.domain.com etc.) answer: "just go to ...
5
votes
3answers
1k views

How to Control user registrations directly on sub-sites

Does anybody have Idea to enable a wordpress based multisite user to automatically get access to all sub-sites under same Multi site ? If I have A Multi-site installation(Also Buddypress enabled) at ...
5
votes
1answer
62 views

.maintenance and maintenance.php also in multisite install?

I would like to customize the standard maintenance page which gets shown during plugin updates. For single sites the process is clear to me. Putting a maintenance.php into /wp-content. But how does ...
5
votes
2answers
218 views

Different back-end colour scheme for the different sites of a multisite

Is it possible to have a different back-end colour scheme selected for the different sites of a multisite? i.e. "Sunrise" for Site A and "Midnight" for Site B If it's not possible for the user to ...
5
votes
1answer
65 views

Is there an easy way to separate themes on network?

Assume we have a multisite network. All sites in the network are separated into groups by some option value. What I want to do is to separate network available themes to be available to specific ...
5
votes
1answer
413 views

Create multiple subdomains for multi-site from a database

I want to create multiple subdomains for users. I know how to create multiple subdomains manually using creating network. But, i have so many users, I can't create those subdomains manually one by ...
5
votes
1answer
179 views

Automatic Upgrade Filters in Multisite

Related to this question: How Do I Configure Automatic Updates in WordPress 3.7? I help maintain the Update Control Plugin - source on wp dot org/trunk. The Plugin is quite simple; it sets filters ...
5
votes
1answer
931 views

WordPress Multisite, NGINX and WordPress Subdirectory Install

I'm attempting to set up WordPress skeleton (https://github.com/markjaquith/WordPress-Skeleton/) in a multisite configuration. WordPress skeleton already places WordPress in a subdirectory (wp by ...
5
votes
3answers
2k views

Category page doesn't use category.php, instead it redirects to homepage

I am currently modifying a theme. This theme doesn't had a category.php I needed a custom category page. So, I made one. It works on my local server, but when I uploaded it to a real server, this page ...
5
votes
1answer
63 views

How to map a specific multi-site blog to a folder?

I have a multi-site set up in a sub folder called sites, like: domain/sites/blog1 domain/sites/blog2 I would like a specific blog called mag to be accessible at domain/mag without revealing the ...
5
votes
1answer
576 views

WP Multisite: load content from site X on site Y

I'm running a WP multisite-network on my professional website (http://mydomain.com). I'd like to play around with jQuery Mobile and deliver a different website and web experience to mobile users, so I ...