Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 736

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

0 votes

How can I use different domains on a WP multisite install?

To do this, set the sites URL option to client1.com and it will handle traffic for client1.com. It's as simple as that. You can do this by editing the site in the network admin. No additional configur …
Tom J Nowell's user avatar
  • 60.6k
1 vote
Accepted

Function to check whether the user is at the top level of the network?

if(is_super_admin() && is_network_admin()){ // do network admin only code } http://codex.wordpress.org/Function_Reference/is_super_admin http://hitchhackerguide.com/2011/02/24/is_network_admin/ …
Tom J Nowell's user avatar
  • 60.6k
1 vote
Accepted

Does switch_to_blog support array or other ways to show all posts on a network install?

switch_to_blog does not support switching to multiple blogs at the same time, instead if you want to list all posts in a network, you'll need to loop through each blog, using switch_to_blog and restor …
Tom J Nowell's user avatar
  • 60.6k
0 votes

White pages on sub domains after server transfer

Your comments state that the line in question that gives the fatal error causing your white pages is this line: <div id="whatstrending"><h1><?php echo get_option('radio_options')['blog-header'];?></h …
Tom J Nowell's user avatar
  • 60.6k
0 votes
Accepted

Network - My sites are unavailable

Multisite however is trying to serve those sites using URL rewriting, so deleting those folders should fix the issue …
Tom J Nowell's user avatar
  • 60.6k
3 votes

Website DR using Multisite

No, if production goes down then there's no way to serve the site, since it's a multisite, and a multisite is still a single install of WordPress. … It's possible that code in the theme may bring down a site inside a multisite without bringing down the entire thing, but any DR site will be running the same code. …
Tom J Nowell's user avatar
  • 60.6k
3 votes

Architectural reasons behind sitemeta, blogs, home, site and DOMAIN_CURRENT_SITE redundancy

Networks have no UI, and a multisite install in 99% of cases has a single network. … This way 2 multisites can share the same users and code yet users of 1 multisite never see anything of the other. …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Separated Theme file on multi site network in subdomain

No, the template hierarchy does not contain Site specific templates. Instead, consider using a child theme, allowing you to override a template specifically in that child theme, yet still use the par …
Tom J Nowell's user avatar
  • 60.6k
1 vote

multisite (MU) Subdomain- only one wordpress install

Your problem is not a WordPress problem, but a server setup problem. WordPress is perfectly capable of handling the requests to the subdomains, but those requests never reach WordPress. Your server i …
Tom J Nowell's user avatar
  • 60.6k
19 votes
5 answers
13k 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-multisite
Tom J Nowell's user avatar
  • 60.6k
0 votes

Unique wordpress multisite requirement

You would do this by editing the site in the network admin, and setting the sites URL to subsite.main.domain, WP doesn't force you to have everything as a direct subdomain, you could even put complete …
Tom J Nowell's user avatar
  • 60.6k
7 votes
Accepted

Using one media library for a multisite network with Wordpress 3.5 media library

Unless you use the primary site to host all of your content, including pages and posts, this isn't going to be possible, and the nearest you can get requires a lot of kludges. Your existing 'kludge' i …
Tom J Nowell's user avatar
  • 60.6k
5 votes
Accepted

How do I query all posts of one type across my multisite installation?

Yes but not in a single query, e.g.: if(is_multisite()){ global $wpdb; $blogs = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->blogs WHERE spam = '0' AND deleted = '0' and archived = …
Tom J Nowell's user avatar
  • 60.6k
4 votes
Accepted

Bulk Move Users from one site to another within a network ( Multisite )

Here is code I wrote to automatically move the users from site A to site B within a network en masse. May need running twice <?php add_action( 'admin_init', 'user_move_init' ); add_action( 'admin_me …
Tom J Nowell's user avatar
  • 60.6k
1 vote

Handling embedded videos in excerpts

Try this: global $wp_embed; if ( get_option('embed_autourls') ) remove_filter('the_content',array(&$wp_embed,'autoembed')); // do excerpt/content stuff if ( get_option('embed_autourls') ) a …
Tom J Nowell's user avatar
  • 60.6k

1
2 3 4 5
15 30 50 per page