Running multiple sites with one installation and one central management. Also known as network.
15
votes
2answers
1k views
'Global' settings page for multisite plugin
I'm working on a plugin that will be installed in a multisite instance.
How do I create a single settings page that is visible at the "Network admin" level only - most of the guides i've seen relate ...
11
votes
3answers
1k views
Multisite: How to add Custom Blog Options to new blog setup form?
Seems like a simple enough requirement, but I'm struggling:
I want to add an option field to the "Add New Site" -- a simple text option is fine.
How do I do this??
I need to save this custom blog ...
11
votes
4answers
2k views
Site admin in a network install can't edit users?
For the Stack Exchange Community Blogs, we have a network install that we've set up. I am being told that the site administrator role is not allowing an option for user editing. On the site's users ...
10
votes
2answers
499 views
Setting up a wordpress network with third level domains
I've been looking into setting up a WordPress network install. Everything has been going pretty smoothly until I get to the point where my desired domain layout doesn't fit well.
I would like to ...
9
votes
2answers
2k views
WordPress Job Interview Preparation
I'm interviewing for a job as a WordPress Developer. I've only been working with WP for a year now and feel I have a good overview, as in how to set it up, what functions.php does, where to modify ...
9
votes
2answers
4k views
How To Add Custom Form Fields To The User Profile Page?
The user profile page has the following fields:
Username
First Name
Last Name
Nickname
Display name
Contact Info
E-mail
Website
AIM
Yahoo IM
Jabber / Google Talk
How can more fields be added to ...
9
votes
1answer
399 views
Is there a is_user_logged_in() for multisite?
Is there a is_user_logged_in() function for Wordpress MU / Multisite (3.0+) where I can add in the network site ID like is_user_logged_in(2) where 2 would be the site_id?
Update:
After a little ...
9
votes
2answers
207 views
Specific upload folder for PDFs in custom Post type in WP multisite
I need to filter uploads to a specific folder for a custom-post type called "document" only for PDFs.
So far, I have:
function custom_upload_directory( $args ) {
$base_directory = ...
8
votes
5answers
3k views
How to disable a network enabled plugin for just one site?
I'm in the process of setting up a (potentially) large multisite network, and I'm looking to make it as easy as possible now to add and configure sites when needed. I'm currently at the phase where ...
8
votes
3answers
3k views
Create mobile site with same content just different theme
I have a wordpress site and want to create a different theme for mobile. I'd like to create a subdomain such as m.domain.com which will use a mobile optimized theme much different than the desktop ...
8
votes
3answers
467 views
Allow user to select a theme to install when they signup
Is it possible to allow a user to select which theme they would like installed from the new site signup page? And once the site is created, it obviously installs whichever theme they chose.
I found ...
8
votes
2answers
767 views
How to add field for new site-wide option on Network Settings screen?
I'm working on a plugin, and part of it involves setting an option value that applies to all sites in a WordPress network. I know about the add_site_option and get_site_option functions that let you ...
7
votes
4answers
4k views
WordPress Multisite - global categories
Setting up a WP multisite instance - the client has an existing ontology / set of categories that they want to classify all content across the set of blogs. Also the desire is that any new categories ...
7
votes
2answers
291 views
How to share WordPress core library
We have ten blogs running on a little EC2 instances, we want to see if all the blogs can share the same wordpress php code so
When I update the Wordpress, all the blogs get updated
Save memory in ...
7
votes
3answers
424 views
Plugin Development: WPMU or WP?
I was thinking, what kind of issues might I face if I port a plugin from WPMU to WP or vice versa.
Say I developed a plugin from scratch and wanted that plugin to be compatible with both, should I ...
7
votes
1answer
540 views
Multisite on Windows with wildcard subdomains
I want to create a local network on a Windows machine using subdomains. I do not want to edit the hosts file for each new subdomain. But Windows does not support wildcard subdomains, and the Codex ...
7
votes
1answer
78 views
restore_current_blog() vs switch_to_blog()
After every instance of switch_to_blog() you should call restore_current_blog() to restore the current (actually, previous) blog.
But if you're looping through two or more blogs and calling ...
7
votes
2answers
1k views
Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
I've been looking all over to find a solution for SSL with WordPress MultiSite and Domain Mapping. Ideally, I'd like to purchase an SSL cert for each domain (or potentially a wildcard cert) anyone ...
7
votes
2answers
182 views
Which asset URLs are acceptable in a “vanilla” MU install?
Wordpress appears to let content be addressed by many URIs in an MU install. For example:
example.com/wp-content/blogs.dir/5/files/picture.jpg
example.com/bob/files/picture.jpg
...
7
votes
1answer
649 views
How will self-hosted WordPress work with Google Page Speed Service?
Google announced Page Speed Service, jumping on bandwagon of all-in-one site optimization and CDN.
What are the potential issues, when configuring self-hosted WordPress for it?
How will setting up ...
7
votes
2answers
242 views
Plugin for editing options on multisite?
does anyone know of a plugin for mass editing of settings on a multisite installation? Something like Plugin Commander for Settings?
7
votes
0answers
315 views
Wordpress: Can I add categories/tags to all sites in my network at once?
I've installed Wordpress 3.1.2, and have enabled the multi-site network. Each employee in my department can now have their own company blog.
I was hoping to provide a bunch of pre-defined categories ...
6
votes
1answer
132 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
3answers
2k 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
3answers
144 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
156 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
1answer
410 views
Redirect Main Site to Subsite in Multisite Wordpress
I have multi-site wordpress, I want to redirect the main site to one of the sub-site but redirection in .htacecss gives error. Is there any way to redirect a main site to its sub-site. That looks not ...
6
votes
1answer
224 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
2answers
128 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
553 views
Moving a WP Multisite to a subdirectory
Firstly, I've read a number of posts on this process. However, for various reasons, the process remains difficult to implement or troubleshoot for lack of even abstracted examples, or maybe too ...
6
votes
1answer
715 views
WPML with WP_Query serving up all 3 languages
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, ...
5
votes
3answers
331 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
2answers
2k 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
267 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
5answers
507 views
What's the Best Way to Structure a Multi-Content Blog?
A Little Background
I've been running a blog for 4 years that discusses just about anything I feel like writing. My car, backpacking trips, my church, marketing strategy, WordPress code, movies I ...
5
votes
2answers
1k 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
1k 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
111 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
983 views
5
votes
3answers
101 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
2answers
204 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
1answer
451 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
777 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
3answers
156 views
What methods should be used to fend off splogs in a multiuser install?
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
503 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
3answers
977 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 ...
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
888 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
193 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
2answers
554 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 ...
