Questions tagged [multisite]
Running multiple sites with one installation and one central management. Also known as network and WPMU.
259
questions
30
votes
2answers
31k 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 ...
25
votes
3answers
9k 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 ...
22
votes
4answers
30k views
Can i merge 2 new WP_Query($variable) 's?
I am running a multisite network and i have setup a sql query that uses swith_to_blog(); and queries the posts.
Is there a way that i can declare the query inside a new WP_Query and actually merge ...
13
votes
1answer
15k 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 ...
22
votes
4answers
11k 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 ...
19
votes
2answers
32k views
Get posts from sites in Multisite?
I'm trying to pull multiple sites posts. For example, I can pull out a single site
posts by a category and total posts 10.
But I'm trying to pull out both posts from two separate Multisite blogs 1 &...
17
votes
6answers
21k views
Remove the blog slug from Wordpress Multisite root node
I have been looking at whether it is possible to remove blog/ from the post & category URLs on the root node in a multisite setup.
I have found the multisite sites settings and removed the blog/ ...
7
votes
1answer
5k views
Are nested subdomains possible with a subdomain multisite?
I currently have a multisite using sub domains setup, which works well so far:
example.com (main site)
site1.example.com
site2.example.com
site3.example.com
The question now is whether it's ...
15
votes
2answers
14k views
How to use same email for multiple users
I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
-1
votes
3answers
2k views
How to Structure Wordpress for an Organization and its Departments?
I want to make a wordpress site for an organization (main) that has many departments. The requirements are
There is only one website ( or maybe same theme for the main site and its department site)
...
28
votes
3answers
47k views
How do I create a custom role capability?
I wish to create a custom capability for accessing the interface of my plugin.
Should the plugin manage adding this capability to all the administrator accounts on activation?
If so: Does WordPress ...
17
votes
13answers
21k views
Cookies in multisite where network sites have their own domain name
I decided to integrate several stand alone Wordpress websites into a single multisite installation.
I created a brand new multisite install with subdirectories, created a MU network site with ...
17
votes
3answers
6k views
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 ...
4
votes
1answer
3k views
Templates for Custom Post Types and Custom Taxonomies
I am working on a custom theme for a network of sites that are deployed under a WordPress MultiSite installation.
Within these theme I create 4 custom post types that have two taxonomies added to all ...
18
votes
5answers
12k views
Convert a Multisite WordPress install into a Single site
Given a WordPress Multisite network, with a main blog, and assuming all content has been moved on to that blog, how would one collapse the network back down into a standard WordPress non-network non-...
5
votes
4answers
8k views
18
votes
5answers
38k views
Site Redirecting to wp-signup.php
I migrated content from our production server to our dev server in an attempt to sync all environments. I used the All-In-One WP Migration plugin.
Now, when I access dev.domain.com I am forwarded to ...
9
votes
7answers
4k views
What are options are there to implement a multi language site
What is the best way to have multiple languages on a site?
I was thinking of using WP3.0 and then having each language of the site being a seperate blog in a sub directory. I.E.
example.com
...
7
votes
5answers
3k views
create /blog subsite on 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
1answer
4k views
Password Reset for Users on a Multisite Subsite
I have a multisite network. I want my users to be able to reset their passwords while staying within their subsites. So for example clicking the "lost your password?" link keeps them within their ...
5
votes
1answer
1k views
Inherit plugin settings to new site in Multisite
I use the Breadcrumb NavXT plugin for a WP Multisite. I activated the plugin for all sites so I can use it throughout my network.
My problem is that every time I add a new site I have to change the ...
3
votes
2answers
2k views
How would I use pre_get_posts to query another site for posts in my multisite network?
I have a multisite network of sites which should display blog content from each other if the blog post has a tag with the site name.
To gather all posts within the network I use the SWT (Sitewide ...
6
votes
1answer
1k 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 set ...
4
votes
2answers
966 views
How can I display all Multisite blogs where this user is administrator?
Given the user ID, how can I display all the blogs where this user is administrator?
I tried:
<?php
$user_id = 2;
$user_blogs = get_blogs_of_user( $user_id );
echo '<ul>';
foreach ($...
1
vote
1answer
34 views
Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
I installed multi site setup for the domain https://uninfo.org but when i add new sub site from the back end it is creating but in sub site WP-options table it created with HTTP rather then https ...
1
vote
2answers
2k views
Can I run a second wordpress site as a subdomain without using multisite?
I have an two wordpress sites that I would like to host on the same domain. One is already up and running, the other is sitting in waiting.
Can I get the second as a subdomain, or simple within a ...
2
votes
2answers
3k views
share login/logout sessions across two installs?
I'm having some issues sharing the user sessions across two installs.
(a) site on http://stolenmx.com
(b) site on http://arcade.stolenmx.com
I have installed B in the same database as A and I have ...
0
votes
2answers
232 views
Multiple Domains and Subdomains Using Multisite Installation
I have the following domains/subdomains. They are all related to each other, yet they must be on different domains/subdomains
example.com
www.example.com (redirects to example.com)
sub1.example.com
...
0
votes
1answer
810 views
Filters 'request' and 'parse_query' not firing in sites.php nor link-manager.php
I'm trying to make sortable columns in Sites and Links listings admin pages.
/wp-admin/network/sites.php and /wp-admin/link-manager.php
The problem is the following filters are not firing up in ...
27
votes
3answers
40k views
How to use Wordpress Multisite With Different Domain Names?
I want to work with WordPress multisite, but I want to be able to use my own names. For example my main site is called example.com. If I want to add a new site to my multisite network it's gonna be ...
23
votes
5answers
8k views
Running WP Cron on multisite the right way
I have WordPress Multisite with several sites. I set up DISABLE_WP_CRON to true in my wp-config.php.
If we set up cron task with wget or curl we have 30 sec rule to execute PHP script. It's so small ...
7
votes
1answer
4k views
Domain mapping (without plugin) in 4.5.x multisite?
Using WP 4.5.2
Even the developer of the WordPress.org plugin for domain mapping in a multisite network says to not use the plugin any more -- since core WP now includes the same functionality.
Does ...
10
votes
3answers
16k views
How to set permalink structure via functions.php
I'm setting up a Wordpress Network and wanted all new sites to have the same permalink structure (i.e. "/%year%/%monthnum%/%postname%/"). I'm wondering if this is possible to do via hooks or hacks in ...
16
votes
6answers
13k 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 roles to choose from in the drop down box of a sub-site in my ...
11
votes
3answers
21k 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
5answers
11k views
Customizing wp-activate.php
Does anyone know how I can customise wp-activate.php?
It wraps the content in <div id="content" class="widecolumn">, however in my theme the main wrapper is <div id="main">
Presumably, I ...
7
votes
3answers
6k views
wordpress multisite, how to keep user on subdomain throughout registration process?
I am running wp subdomain multisite in combination with domain mapping. This means I can create a new subdomain site xyz.site.com and map the domain name 'xyz.com' to that site.
The problem I have is ...
4
votes
2answers
14k views
How to disable Multisite sign-up page?
If we try to access a non-existant Multisite site, e.g., http://site1.example.com or http://example.com/site1/, we are redirected to http://example.com/wp-signup.php?new=site1.
How to block this and ...
0
votes
2answers
3k views
Nginx rules for subdomain multisite install (Bedrock)
I'm trying to move an existing Bedrock based multisite instance to nginx and am having difficulty getting a set of nginx rules to mimic the original .htaccess. Bedrock places the crux of the files in ...
16
votes
3answers
7k 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 ...
13
votes
4answers
22k 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 ...
6
votes
1answer
5k views
How to use alias domain for multisite installation?
Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem.
Example:
I have ...
5
votes
1answer
3k views
WP Multisite: Adding pages on blog creation by default
Iād like to have a page added by default when a new site is created with WP Multisite.
So I have my function that creates two pages:
function my_default_pages() {
$default_pages = array('Impress'...
5
votes
2answers
2k views
Changing Multisite themes on mass
I want to start a new theme for my Multsite install instead of simply modifying the current theme. The problem is I have a lot of sites running on Multsite so it would be a little painful to change ...
8
votes
2answers
4k views
Settings API in Multisite - Missing update message
When I use the settings API in a multisite installation and the options page sits at the network level, posting the options to options.php does not work, because the administration page sits at wp-...
4
votes
1answer
2k views
Restrict Admin Capabilities in MultiSite
update_core
update_plugins
update_themes
install_plugins
install_themes
delete_themes
edit_plugins
edit_themes
Hi, I want to restrict those capabilities to user_id = 1 so ...
3
votes
1answer
3k views
Infinite loop problem with the WordPress MU Domain Mapping plug-in
When I'm logged out, everything works fine. When I'm logged in, I'm unable to visit the front-end of my site.
My main page is actually located in a sub-folder of my multisite installation: http://...
3
votes
2answers
4k views
Error 101 after upgrading Wordpress
We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install.
After uploading the new files, we now get the following ...
2
votes
1answer
5k views
Shared upload folder in wordpress multisite
I have a wordpress multisite, where I would like all the images uploaded through the main site (mysite.com) to be accessible to sub1.mysite.com and sub2.mysite.com. All the images should be in one ...
1
vote
1answer
650 views
BuddyPress on Multisite [closed]
Does having BuddyPress installed on a Multisite setup mean that users in each of the different sites can interact or view the actions or content of users on other sites in the network?