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

learn more… | top users | synonyms (4)

6
votes
2answers
961 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
264 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
4answers
6k views

Querying posts from multiple sites in a network?

I realize there have been a few questions which dance around the solution I am after but I believe I am looking for something specific. This is actually a two part question: 1) My goal is to have ...
6
votes
1answer
178 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
224 views

Get upload URL by blog ID in multisite

The essence of the question is, I'm looking for a solution like this: $blog_upload_dir_info = wp_upload_dir( $date, $blog_ID ); $blog_upload_url = $blog_upload_dir_info[ 'baseurl' ]; Where ...
6
votes
1answer
3k views

WPML with WP_Query serving up all 3 languages [closed]

I've got something about this on the WPML support forums, but I figured I could ask here as well. Here's the important info: I'm running a WP Multisite setup with custom post types, custom fields, ...
6
votes
1answer
154 views

is_front_page() malfunction?

I've a pretty basic problem that I'm surprised WP doesn't have a native solution for (unless I'm overlooking something, hopefully). I've a WP site with static page set as front page in reading ...
5
votes
2answers
3k 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
754 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
3answers
714 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
5k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
5
votes
2answers
2k 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
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
703 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
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
1answer
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
497 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
258 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
2answers
1k views

Need help sorting “My Sites” Alphabetically

I have 40+ sites showing up in the "My Sites" page with more planned. Unfortunately WordPress doesn't sort them alphabetically, and that makes it a pain to move from site to site during routine ...
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
99 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
565 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
538 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
308 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
794 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
1k 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
1answer
567 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' ); ...
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
115 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
723 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
2answers
178 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
64 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
403 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
166 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
810 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
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
524 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 ...
5
votes
1answer
3k views

Switching MultiSite installation from HTTP to HTTPS

I installed MultiSite with the URL set as http://example.com, but now I want to force all requests to go over HTTPS, so I'm trying to change the URL to be https://example.com. I've gone through the ...
5
votes
1answer
533 views

Add additional Network constants to wp-config.php dynamically

When starting with a fresh Network install, the first step is a single site install that has one additional line in the wp-config.php file: define( 'WP_ALLOW_MULTISITE', true ); After that we have ...
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
2answers
234 views

Roles other than Super admin accessing manage_network_themes

We currently use the Wordpress Multisite and Networks to control a few blogs of ours. We are looking to give other users on the network permission to manage the themes on the network. We've ...