Multisite setup on IIS with subdomains

I finally figure it out. I was missing a binding on my main WordPress site in IIS. I needed to add one for the sub-site, in this case child.example.com, specifying the same IP. After doing that I could successfully browse to the sub-site. Presumably when IIS can’t find any matching binding for the given host … Read more

Accessing multiple sites via FTP

You don’t need to get to the /sitename sub-directory. You install the theme in the themes sub-directory, and enable it for all sites. WPMU doesn’t have an out-of-the-box capability to enable a theme for one site only, but I there might be plugins that give that functionality.

Multisite plugin hiding on specific blogs

Super Admin is your friend! If a plugin is not active in the Super Admin (also lamely named Network Admin) Then it won’t show up as an option for individual blogs. It basically works like this: Installed as Super Admin (main site) and “Network Active” will be active on all blogs on the network. Installed … Read more

Disable domain redirect

Check your .htaccess file, it has to look like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] And wp-config.php has … Read more

Removing “Sub-menus” from My Sites Drop-down in Admin Bar

Old question but I just came accros a fix. I hope it helps someone else. Add this to your theme functions.php file add_action( ‘wp_before_admin_bar_render’, ‘remove_mysites_comment_link’ ); function remove_mysites_comment_link () { global $wp_admin_bar; foreach ( (array) $wp_admin_bar->user->blogs as $blog ) { $menu_id_c=”blog-” . $blog->userblog_id . ‘-c’; $wp_admin_bar->remove_menu($menu_id_c); } }

Restrict Admin Capabilities in MultiSite

Editing super admin capabilities is a little different from editing the capabilities of every other role, because there is a slight detour in the way WP checks the current user’s capabilities. This is what you find on capabilities.php on line 864: function has_cap( $cap ) { // (…) // Multisite super admin has all caps … Read more