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

learn more… | top users | synonyms (4)

6
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 ...
6
votes
2answers
212 views

Listing of all uploaded files in network sites

Can I list all files uploaded by users in Network sites? In Multisite each user can manage their files with their own blog but the Super admin can't monitor all the uploaded files...how can i do that? ...
6
votes
2answers
2k 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 ...
6
votes
4answers
764 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 ...
6
votes
4answers
1k views

How to delete post revisions?

I haven't set a limit to the number of revisions, which makes some of my post have more than 20 revisions, so how to delete these revisions? By the way, I am using WPMU and have many blogs, so how to ...
6
votes
2answers
522 views

I want to develop locally with Multisite, then migrate each site to separate remote WP installs

I use WordPress for the majority of my client work. I develop locally with MAMP and then move the sites to the remote server when its time to go live or show the client the progress. I just migrate ...
6
votes
2answers
167 views

How to tell if a plugin is multisite compatible?

As a WordPress admin newbie, I just went through my first non-automatic WordPress upgrade. I upgraded five different WordPress installs from 4.1.3 to 4.2. They all refer to different web sites ...
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
703 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
366 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
91 views

wp_get_attachment_image_src multisite issue

I'm running the latest version of WordPress 4.4.1, and I'm having a very frustrating issue. I run a multisite installation, and use Advanced Custom Fields throughout the site to allow the imagery to ...
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
280 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
6answers
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
353 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
226 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
1answer
981 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 ...
6
votes
2answers
245 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 ...
5
votes
2answers
5k 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
363 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
812 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
838 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
831 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
1answer
3k views

What is the correct way to map multiple domains in a WordPress 4.1 multisite install?

I'm aware of this question and others but have not found a definitive answer to how a domain should be set up with multisite so that www and non-www variants behave correctly. I believe I have ...
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
7k 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
112 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
533 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
306 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
3k 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
248 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
1answer
728 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
341 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
2answers
141 views

Multisite Network Port Num Issues?

I am following This tutorial to Create a Network of WordPress Sites . After adding /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); to my wp-config.php file and when I start to configure ...
5
votes
1answer
877 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
1answer
162 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
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
867 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
208 views

Security in WordPress plugin development

My plugin is Mailer.app for WordPress, I'm 85% completed and I'm focusing on security before release. Before the questions, I should outline the plugins architecture: The plugin is able to take in ...
5
votes
1answer
71 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 ...