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

learn more… | top users | synonyms (4)

0
votes
1answer
19 views

Disable site visiting and user logins excepting for a specific user

I want to disable temporarily site visiting and user logins to a multisite blog for the site maintenance time, excepting for super-admins and for a specific user. I found this function (thanks @joshc) ...
0
votes
1answer
19 views

is there a if multisite have posts function?

I need a function that checks if the posttype "events" have posts in all of the multisite websites in the network if false do nothing if true return the cross_events(); function.
1
vote
1answer
64 views

Switch_to_blog() outside wordpress

how can I load switch_to_blog() function outside wordpress? $blog_id = '7'; require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php' ); switch_to_blog($blog_id); echo get_option('blogname'); ...
0
votes
0answers
48 views

How to create team for users?

i trying to create team to manage all the users in more effective way in multisite. i want to create some temas like "support" "super admins" and etc... to each team we need to have option to select ...
0
votes
0answers
26 views

How to manage different admin notices for different blogs?

i am trying to create plugin that can manage different admin notices or any other information for different blogs. for example: i have in my multisite network with 50 blogs. i want to select some ...
2
votes
2answers
3k 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 ...
4
votes
4answers
2k views

How to Get a List of Sub Blogs without Using get_blog_list()?

The get_blog_list() function has been deprecated from v3.0. How does one get a list of blogs in a multisite blog?
2
votes
1answer
36 views

Creating multisite in wordpress using php

I am trying to create multisite in wordpress, I am using WPMU DEV and adding new sites through My Sites -> Network Admin -> Sites -> Add New, is there any way I could write a php code to ...
0
votes
0answers
22 views

How can I tell if a wordpress site is running on multisite?

I'm moving a bunch of websites from independent installs to a single multisite install. This seems to be going smoothly, but I noticed that the upload directories have changed from <upload ...
2
votes
2answers
649 views

Get the Current Blog URL of User in Multi Site?

I have a WordPress Multi Site installation and several blogs. On the frontpage (domain.com) I have a login form and when the user is logged in, it shows two links at the moment (Admin Panel and Log ...
0
votes
0answers
16 views

Multisite installed today on shared hosting-After creating a test site- unable to access site getting “server cannot be found”

I have a shared hosting account whose main domain(maindomain.com) is not tied to any created website currently. I have added an add-on domain (mspls.com) that resides as a separate folder inside the ...
0
votes
2answers
16 views

Multisite - mix sites that use subdomains with sites that use paths

We've got a WordPress Multisite install. Can you mix sites that use subdomains with sites that use paths? And, if so, are there any guides to this?
0
votes
2answers
51 views

Multisite default theme and child applied to network

I have an existing WP Multisite network. I want to simplify the maintenance of the themes. I'd like all subsites to have the same parent and child theme applied across the network.I saw several posts ...
0
votes
0answers
44 views

Trouble with custom post type archive on multisite install

I have a problem with a post type archive on a multisite install. When try to access it on one of the sites I end up getting a 404. Checking the url shows the following, all other sites work without ...
7
votes
1answer
2k 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 ...
1
vote
1answer
618 views

Error 404 on Network Admin and others

I have a multisite fresh install in my domain. Subfolder setup. Network Admin on the upper right menu has this link http://example.com/wp-admin/network/ and returns a 404 error. Other links like 'Add ...
0
votes
0answers
24 views

Listing the sites in my network in one page sorted by type

I have a WordPress multi-site installation and in my network I have many sites. I would like to have three lists that list the sites. Each list should show sites in specific city.
0
votes
0answers
17 views

How to create various site in wpmu with code

I have a site. I want user come to my site if they like they can order a same site with a subdomain hosting (as wordpress do, I know about wp network.And a initiall network formation will be ...
1
vote
0answers
93 views

Multisite -> XMLRPC

On my site I have Multisite enabled. XMLRPC works on the main site (www.hostname.com/xmlrpc.php), but when I try www.hostname.com/subblog/xmlrpc.php, it returns a 404 error.
0
votes
1answer
117 views

Error : Cookies are blocked or not supported by your browser

I have a multisite WordPress installation. When I am logged in as a super admin from the main website, and go to the dashboard from the main site into another site, it asks me for login details. When ...
1
vote
0answers
33 views

Different Custom Post Types for each Network site

I have a WP Network of two sites to use the Multilingual Press plugin ("Site-A" and "Site-B"). They both have a Custom Post Type, say "CPT-A", which I registered manually in functions.php. How do I ...
0
votes
0answers
14 views

How would I have to change rewrite rules to use a custom ms-files.php

I've previously wondered about securing file access by non-logged in users who know the full URL in multisite. When ms-files was still used modifications to this file allowed a basic form of WP-run ...
0
votes
0answers
20 views

Multisite Selection

I have a multisite setup: example.com example.com/city1 example.com/city2 example.com/city3 example.com/city4 I have made it so users can easily select city from the icons on mysite.com. The next ...
0
votes
1answer
66 views

Strange switch_to_blog() issue

OK, so WordPress has been destroying me this afternoon and this particular issue I really can't figure out. We are building a multisite network and for our particular purpose need to loop through each ...
0
votes
0answers
33 views

Lost access to entire network after recent update

I have a private Wordpress network covering 11 different sites, all hosted under separate TLDs (using WordPress MU Domain Mapping plugin; version 0.5.4.2, if that matters). This network is at a very ...
1
vote
0answers
124 views

Why doesn't wpmu_new_user work from a plugin when it does from theme?

So here's a simple test function that should send an email (just want to get it working first before I work on other functionality) when a new user is created on the multisite installation. The email ...
0
votes
2answers
60 views

Show all posts on a twentythirteen multisite

I'm using the default twentythirteen on a wordpress 4.0 site. I have one site in the network right now. I may be adding one or two next year or so. Both blogs are using twentythirteen. Right now the ...
0
votes
0answers
17 views

Cron job disappering without notice?

I have a cron job (doing an sync against an external system) running every 10th minute in a multisite-install. For 2 out of 3 sites it is working perfectly. On the third site the scheduled job is ...
3
votes
3answers
3k views

WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me

I´m trying to set up a local development environment for me to work on a Wordpress multisite that I´m building. I use Mamp Pro with default ports (Apache: 80, MySQL: 3306), and I also added a new host ...
1
vote
1answer
103 views

get_option compatible with wordpress network (multisite)?

I have this function in a plugin that works on wp install but it doesnt work on wordpress MU. if( !get_option( $option-name ) ) { // something } else { // something else ...
0
votes
1answer
78 views

Migrating Multisite - Database error, missing wp_blogs table

I am trying to duplicate my WordPress multisite on local with Xampp, but I get error. This are the steps I follow(I will use example instead of my website name): Copy all WordPress 4.0 files to ...
0
votes
0answers
37 views

List all active sites in multisite

I need to list all " activated / Deactivate/ Archive " sites in the Multisite network in alphabetical order? I have tried this code to list all blogs : // Query for getting blogs $blogs = ...
1
vote
0answers
70 views

Changing admin default setting values

I would like to know if it is possible to change the default admin setting options. This question may seem a bit unnecessary but it is because I have a specifically designed multisite and so would ...
0
votes
0answers
15 views

What is WP_MULTISITE and why it causes WP_UnitTestCase to create 404 page?

I'm using WP_UnitTestCase to create a post for unit test. I'm using WP_MULTISITE=1 on my CI and it causes create_post to create post type 404. $post_id = ...
1
vote
2answers
741 views

User registration on subsite in multisite configuration

As a network admin in multisite configuration, I have the option to enable or disable the user registration \ site registration. is there any way i can enable the user registration on s single sub ...
0
votes
1answer
62 views

WP Multisite .htaccess interferes with cgi-bin

I'm currently setting up a WordPress multisite installation for my company and I've run into an issue. The set up is that the multisite runs out of a subdirectory (/wp) but appears to be at the root ...
2
votes
1answer
61 views

How to remove nodes site wide from the toolbar on multisite install

If you're not on one of your sites, ie someone else's site that you don't administer in a WordPress Multisite install, my function below to remove nodes won't work because it checks for current blog ...
1
vote
1answer
297 views

Exclude main blog from get_blogs_of_user

I use WordPress Multisite and in the sidebar i have a box that shows a list of blogs the logged in user is a member of. I'm looking for a way to exclude the mainblog from this list. The main blog ID ...
0
votes
1answer
37 views

Should I use individual Wordpress installs or Wordpress-Mutisite install?

I wish to install many different websites, on one domain: Some will be Wordpress sites, others not. So I was thinking of putting each site into its own individual folder, so their paths would be: ...
0
votes
1answer
100 views

Redirect all users, except network administrators, from the main site to a subsite

I have a WP Multisite / Multi Network installation. What I need is to redirect all non-logged and also all logged in users, except logged in network administrators, from the main site example.com ...
0
votes
0answers
12 views

Login network administrators automatically in multisite networks [duplicate]

OK, I have this function and it works, thanks to @seamus-leahy, but not exactly as I want, and not only because of this function. I use it in a multi networks installation and all networks in this ...
0
votes
2answers
2k views

Simplest way to query with blog_id?

What is the simplest way to query posts using blog_id? I have a post type called video that holds, not surprisingly, multiple embedded videos. Each post has a different video. I would like to ...
0
votes
0answers
57 views

path-based multisite: Including wp-load.php in external page redirects page to blog

I have a multisite setup at foo.com/school/blog. Now when I try to include wp-load.php on bar.com it redirects the page to foo.com/school/blog. bar.com is an ad on domain and points to foo.com/test. ...
0
votes
1answer
358 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 ...
3
votes
1answer
233 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 ...
0
votes
1answer
95 views

Check if User exists in Wordpress Multisite

Hi I am creating a custom Form to Register a new user in Backend. The problem is how I check if the user exists in another website of my Wordpress Network? And if not how can I register the new user?
0
votes
0answers
37 views

Copy site from one multisite to another

I have a live multisite and a development version of the live multisite. The top level sites are different, but all the other sites are (or more accurately, will be) the same. I need to export one of ...
0
votes
0answers
50 views

Multisite: Run a subdomain install from a directory install

Here's what I have. One main domain example.com which has the wp multisite install at example.com/school/blog I have two other add on domains that I want to run blogs from above multisite ...
0
votes
1answer
90 views

How to share User Database between Two Multisite Installations + More

My situation is a bit different to the other questions/answers I have read online here. Currently I have a Wordpress Multisite Installation on Server A. Server A is almost full in terms of ...
3
votes
1answer
107 views

How to manage hundreds of WordPress sites?

I am managing 100+ WordPress sites in a single multisite install. The sites are completely independent (i.e. the site's owners do not know that they are hosted on the same server). So far the ...