Finding a Lost Site in a Massive Multisite

In WordPress Multisite there are some scenarios where a site with a custom domain can get lost. There is the central place in network admin where you can assign custom domains but you can also do it at the site level. If it’s done at the site level, it’s possible for that site to become lost. You just can’t find it in the network admin for some reason. Maybe the search just sucks. Maybe something else weird happened but the site just wasn’t coming up. The easiest way I had to deal with this was to add the site ID to our custom JSON endpoint data. This technique is a really handy way to add the information you need to the endpoint. Some day, I’ll build a nice dashboard based on this for multisite. Now I can always easily find the ID of the site (and the other useful information) on any site. With the site ID, I can just go there directly through a URL like https://mainsiteurl.com/wp-admin/network/site-info.php?id=11803


Add All Multisite Users to One Sub Site

Say you needed to add all the users in your multisite to a single site on that multisite. You can do that like this. With a bit of tweaking you could also copy all users from one site (or multiple sites) to another or multiple other sites. Granted, you can also do stuff like this with WP CLI, directly in MySQL, csv user import plugins etc. but never hurts to see another path.


Change New Site Comments Settings in Multisite

This little function in a network activated plugin on WordPress multisite will require comment users to be a member of the multisite to comment. The setting can be changed by the blog admin but it makes the default setting a bit more restrictive. It’s changing the value in Dashboard>Settings>Discussion.

Jim Groom's face added to painting of a sleeping child. Text says "Every night, I stay up, just to watch Jim Groom sleep.

WPMU plugins you ought to have

Here are a few plugins I’ve got in the WPMU install I’m running. Most, if not all, were a result of my sordid association with WPMU cult leader, Jim Groom. He’s likely posted on each multiple times but it’s hard to find them among all the old cartoons and toy posts- besides I had to make a list to send to our people so I figured I might as well post it. These are all installed in the mu-plugins folder. More Privacy Options This let’s users set up additional options in the privacy page for blog admins. You can make sure the blog is visible only to those logged into your WPMU site, only visible to members of the blog, or only visible to admins. User Themes Revisited This plugin gives individual blog admins the ability to tweak CSS or theme templates individually- the edit theme ability in single user. It’s a little awkward at first but really a key plugin for me. Essentially, you copy the theme over to the individual blog and then can edit it without changing things for everyone on the WPMU install. New Blog Defaults This plugin lets you customize how the new blogs are created. You can customize a lot of key elements and do things like putting the initial “Hello World” post in […]


Publishing Google Docs to WPMU

I was looking to have some people in my class publish lesson plans to their WPMU blogs via Google Docs. So I consulting the dean of WPMU, The Right Reverend Jim Groom, and he made it look so easy. Yet, I failed. Feeling stupid I started drinking looked at the differences in our set up. I began to worry it was because I wasn’t using dynamic subdomains. I reached such a depth of despondency that I actually read one of the error messages from Google itself. It said “Hey Dummy, you haven’t turned on XML-RPC publishing for that blog. Why don’t you go turn it on?” I did and everything now works. There’s a video on how to do that below in case it helps. pub2wpmu

Why use WPMU in K12?

I’ve been slowly migrating all of our individual WP installs into WPMU over the last few days. It’s going to really make life a lot easier around here while adding some real advantages. You’ve seen Jim showing a million reasons to use WPMU in the college environment and while most (maybe all) can be transferred over to K12 there are some advantages to using WPMU in K12 that are worth looking at a little more directly. Flexibility – WordPress can handle just about any web need I have in a school setting. I can of course use it to blog but it can just as easily be the backbone for my school’s website and act more like a CMS. And imagine a school website that was both current and easy for multiple users to updated without expensive software. The ability to quickly and easily change themes is attractive to users but it is also a key component in creating engaging web experiences for students. BlackBoard and other CMS options tend to pretend to give you control over how your particular page or site looks but real customization is not an option at the user level and it makes a difference. Being able to control all the aspects of the Richard III page made things far more professional and interesting to […]