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
58 views

Do “switch_to_blog()” and “restore_current_blog()” re-run the filters?

I've been working on a Wordrepss multisite network and came across very common requirement of displaying a common navigation menu across all sites. Use switch_to_blog() and ...
0
votes
2answers
112 views

Sort posts according to date

I have problem with sort posts according to date: My code now: <?php global $switched; $original_blog_id = get_current_blog_id(); // get current blog $blog_ids = array(4,1); foreach( $blog_ids ...
0
votes
1answer
108 views

Multisite custom rewrite urls

On a multisite installation, which is running the Polylang plugin, I want to add a custom rewrite rule. Currently, my permalink structure is: http://host.com/sitename/language/pagename Now I want ...
-1
votes
1answer
61 views

How do I set up multisite on Digitalocean?

I am trying to setup multisite with the Digital ocean as host. I am using Namecheap as the DNS. Is there an easy way for this all to be set up or is it very complex?
0
votes
1answer
46 views

Multisite login and redirect to users main blog,

On the multisite main page (http://example.com/) I have a login-form where users can login to their multisite like so: <?php $args = array( 'redirect' => get_active_blog_for_user(), ); ...
0
votes
0answers
30 views

Multisite with MU Domain Mapping won't allow network admin to login

We tried to login to the Super Admin to make network wide changes. When we try we get redirected back to the login screen with no errors. "sunrise.php" is in the wp-content folder ...
1
vote
0answers
11 views

Why is MySQL receiving such a large serialized object?

I have gotten a 20GB error log that has an entry of repetitive serialized objects that look like this: ...
1
vote
0answers
75 views

single sign on for wordpress multi site

I am having two wordpress site with multi site concept. I have configured all settings in wp-config.php and .htaccess files. After all still am unable to login in my network sites by using main site ...
1
vote
0answers
60 views

Create Custom Multisite User Role to Reduce Capabilities

I need to create a new role for my multisite install for our Technical Account Managers so that they are only able to create/edit/remove users and create/edit/remove sites. I'm pretty sure I've ...
1
vote
0answers
47 views

How can I remove the folder from a Multisite URL?

I necessarily have a multisite installation in a subfolder. For most of the Sites this is fine, but I would like to remove that folder entirely for another Site. Like so: ...
3
votes
1answer
85 views

WordPress Multisite Login Access

I have a multisite installation and use an .htaccess directive to close access to wp-login.php. <files wp-login.php> errordocument 403 http://example.com/restricted/ order deny,allow deny from ...
0
votes
0answers
44 views

changing url for wordpress multisite network

I started from scratch learning Wordpress, and because I didn't have much time (or practise), I think I set up the network wrong.... So, the customer asked for a portal holding 2 sites, but because I ...
0
votes
1answer
231 views

How to add multiple existing users to a multisite site?

I have a multisite instance of WordPress, and I need to add 50 existing users to each of 20 new sites. One by one is going to take a very long time, and will send each person 20 emails confirming ...
0
votes
0answers
24 views

How to sanitize_callback for font-family in wordpress?

At this point some options for building a Wordpress theme and I reached the point where you have to add the Customizer API function of choosing a font-family.I must have a function for ...
0
votes
1answer
21 views

How to create 30 new sites from an export of a master site?

I am an admin for a Wordpress multisite instance at a college. I need to create 30 new wordpress sites, each for a similar course. The content is going to be copied from a "master" wordpress site ...
0
votes
2answers
18 views

Is Multisite the RIGHT option for my case?

Im starting the biggest project I ever made, a online business directory in a certain niche. Firstly, I thought to make two wordpress installs sharing the same database and specially the users table. ...
0
votes
0answers
46 views

Convert NOBLOGREDIRECT to use 301 instead of 302

Does anyone knows any process to convert the NOBLOGREDIRECT 302 conversion to 301 for WP MU sites? When you define the NOBLOGREDIRECT value to some url, it uses 302 to redirect to that url. I want it ...
0
votes
1answer
187 views

current_user_can('Administrator') does not return true in multisite if user is Administrator but NOT Super Admin

I have a multisite WordPress installation set up, and have a user who is set to an 'Administrator' role on both sites. However, the function current_user_can('Administrator') does not return true when ...
0
votes
0answers
399 views

Sending SMTP mail using a server with self-signed SSL

The problem I need to solve I have a web server in a network where the port 25 is blocked for outgoing traffic, and in order to send emails it is mandatory to obtain an account and use ...
0
votes
0answers
60 views

ajax returns -1 in multisite sub domain

i am using the same theme for 2 language site - i didnt use a plugin but rather created a multisite (i like it better) - but... i have a problem with ajax which seems to work for main site but not ...
0
votes
0answers
59 views

Add custom attributes to the individual blog table in multisite

I am adding custom product attribute to a multisite network. Currently the added custom attributes save on the default WordPress database. I have to store the data in corresponding blog database table ...
0
votes
0answers
42 views

Adding skin script ads to header in multisite

I need to know where in the header.php I can insert a script ads so it looks like the background (the classic advertising side to a site boxed.) I am a multi-site thought to use a facility code like ...
7
votes
2answers
267 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 ...
0
votes
2answers
20 views

use system script advertising in wordpress multisite

I have a little problem that I can not solve. I have a website "multi-site" system with ADS script. I wish I could enter leaderboard banner. This is an example script: <div id=""><script ...
0
votes
1answer
40 views

Handling single.php in Multisite

I'm using sub directories for my WordPress multisite, posts are controlled with single.php. How can instruct single.php to use a different header and footer file for the site in the sub directory? I ...
0
votes
0answers
42 views

Nested folder paths for WordPress multisite

I'm looking to implement a WordPress multisite with nested folder paths. Having read this blog - http://www.paulund.co.uk/wordpress-multisite-nested-paths - I just wondered if anyone had positive / ...
0
votes
0answers
9 views

How to syndicate posts within a multisite as a skin, not as duplication of content?

Yes, I know there are many ways to spread the word across sites, from plugins to IFTTT, but what happens when the original content changes? It'd be great if, at least within a multisite, posts in ...
0
votes
0answers
37 views

Where to put wp_head() when using switch_to_blog()

Where should the call to wp_head() be in my case. I'm using switch_to_blog() in order to keep one consistent header with its own widgets and menus across all multisites. If I call wp_head() in ...
0
votes
0answers
47 views

Wordpress as a Saas

I'm looking at building a SaaS which has the following (pretty straightforward) functionality: Users register/logs in save unique API key )as a custom post type/field. User navigates to separate ...
0
votes
1answer
30 views

Can WordPress Multisite work like a regular site?

I'm helping someone that has no technical experiences with their WordPress site, and I realized he may have accidentally set it up as a multisite. My question is if I don't want to go through all the ...
0
votes
0answers
67 views

Check Subdomain exist on multisite

I wish to ask how to build a real time control while a user attempt to register his website in a wordpress multisite installation. The control or plugin should check if the subdomain already exists ...
0
votes
0answers
85 views

Separate folder uploads for multisite

i want to use a separate folder for each site on my multisite network, i use domain mapping. i set for each site the Upload Path and Fileupload Url like this : files-mysitename ...
0
votes
1answer
76 views

WordPress Multisite redirect loop

I'm wondering what my htaccess file should look like for my multisite install. I'm using sub folders instead of sub domains, this was something that I actually changed after the initial setup. ...
0
votes
0answers
22 views

Add a warning when a user tries to deactivate a network-disabled theme

In a multi-site context you can network enable a theme. If your then network-disable that theme, the theme is removed from every site's theme admin page unless the theme was previously enabled ...
1
vote
0answers
61 views

Pagination with an array of post objects?

I am curious, I have the following code: foreach ($this->networkBlogs as $siteBlog) { switch_to_blog($siteBlog['blog_id']); foreach (get_posts() as $postObject) { ...
0
votes
0answers
78 views

How can I copy attachment in multisite without duplicating media

In Wordpress multisite, I need to copy post from one blog to another. No problem there. Now, each post have some attachment linked to it. I can copy attachment too, but it will store the same media in ...
1
vote
1answer
72 views

How to redirect one page on the subdomain

Hello I have arkansaspickem.com i want to redirect arkansaspickem.com/blog page to my subdoamin news.arkansaspickem.com I do not have any wordpress installation over there. How can it is possible.
0
votes
0answers
10 views

Change a non-multisite plugin to a multisite compatible plugin

I want to use a free plugin from wp plugin repository. But the main prob is that the plugin is not compatible with WPMU. But my sites are running with WPMU. If I want to use this for multisite; how ...
1
vote
0answers
64 views

Move existing WordPress install to Multisite

I would like to move my existing WordPress install to Multisite but unfortunately I've run into the redirect loop issue. I've been reading through the codex and realize that since my install has been ...
0
votes
0answers
72 views

Setting up multisite with NginX

Does anyone have a tutorial/directions on how to set up multisite on NginX? I'm using serverpilot with DigitalOcean... I used all the standard reqs, looks like this post sor tof covers it: ...
0
votes
1answer
30 views

How to have multiple Wordpress Menus

If possible, could someone answer this in very easy steps as I am new to coding. I was wandering if there is an easy method for having multiple menus in any theme; I have been searching the internet ...
0
votes
1answer
31 views

Prevent images on self-hosted Wordpress from being served from Wordpress.com

I have created a few posts with featured images on my blog. Since this is self-hosted installation, I was more than sure, that all my files were upload to my server / hosting. But to my extreme ...
0
votes
0answers
55 views

Multisite: Hook when wordpress creates new user record for a subsite

I'm trying to find an hook ( filter / action ) to catch when wordpress create new user record on a subsite. Example: Actually I've SiteA SiteB an user register itself on SiteA and ...
0
votes
0answers
95 views

Multiple domain with one database

I have multiple domain (Multiple domain + subdomain as well) for the different countries and for the different states of it. Now i want to run all the domain from one signle database, all the domain ...
1
vote
3answers
310 views

How to Login Once to an Entire WP Multisite Network

Does anyone know of a good plugin that permits logging in once as the WP-MS network Super Admin and being able to switch sites without having to re-login into each network and/or each site ...
0
votes
0answers
52 views

Wordpress multisite. Portal template

I need some help please, it's been the whole yesterday and today being stuck with this. I had a site, in Wordpress, but then the customer asked for a multisite.... so now, I set up my wordpress with ...
0
votes
1answer
69 views

get_post_type_object() does not work with switch_to_blog()

the title is pretty much self-explanatory but it seems that get_post_type_object() does not work with switch_to_blog() here is the situation I have blog A and blog B. I registered a custom post type ...
0
votes
0answers
24 views

Issues with Multisite Login on Subdomain install

I am using a sub directory install but also using the Networks+ plugin to essence use a sub domain install as well. For example, I'll have a URL like the following: test.website.com/sport1 ...
0
votes
1answer
68 views

Domain mapping breaks some plugin scripts and css

Here is the context: I have a sub domains wp mu install with wp-content in a different location and using the domain mapping plugin. WP and all my plugins are up to date. There is no https involved. ...
0
votes
0answers
10 views

Return blog ids for all sites of a multisite using a specific theme

Can you detect which sites of a multisite are using a particular theme and return them as an array of blog IDs? What I'd like to do is detect all sites using a certain theme and pull in some data ...