20 Comments


  1. Great write up James,

    This is a huge topic and you’ve done a solid job of summing it up. Congrats. One quick correction you may want to make is in the statement:

    The mu-plugins category is THE place where we get to globally define what’s happening for our sites.

    As you point out below this sentence, the mu-plugins is a directory under /wp-content/ and not a category.

    Just trying to avoid any confusion for those new to Multi-Site…


  2. Adam,

    Thanks for your response. You are correct it should be directory – not category. I’ll note that and see about getting it updated. Thanks for the read through!


  3. @James,

    Thanks, and what are the odds that I would visit your site and realize we’re in the SAME town! It’s getting close to happy hour and the tavern is giving me the itch. Might be time to head down to the tiki at Marina Jack’s or slide into Shakespeare’s.


  4. Now THAT is amazing. I love Shakespeare’s. I’m dropping you a note on your site form. If you get this grab my phone number there or hit me up on twitter. I’ll be around all evening.


  5. @ James…

    WP Tavern…making WordPress world connections in more ways than one. Ha!


  6. Hah, maybe you two will actually grab a beer at a REAL tavern :)

    I’ve also edited the post


  7. @James – Using multi-site how do i upgrade all of my plugins on a network wide basis without logging into all my sub-domains. When you say that you have to create a mu-plugins folder/directory in wp-content, does this then mean transferring all my existing plugins into this folder and deleting original plugins folder? I have a normal wp install which i have upgraded to multi site. Do plugins have to be MU specific to upgrade network wide?


  8. Using multi-site how do i upgrade all of my plugins on a network wide basis without logging into all my sub-domains.

    When you upgrade one plugin, you;re upgrading the ONE file used by all the sites in the network.

    When you say that you have to create a mu-plugins folder/directory in wp-content, does this then mean transferring all my existing plugins into this folder and deleting original plugins folder?

    No, this is an *extra* folder for plugin that run continuously. If a plugin is meant to go here, the instructions for that plugin will say so.

    Extra reading:
    http://wpmututorials.com/basics/what-is-the-mu-plugins-folder/

    I have a normal wp install which i have upgraded to multi site. Do plugins have to be MU specific to upgrade network wide?

    No. like I said above, if you install a plugin, it is now accessible to all sites in your network. One copy.


  9. Hi James, thanks for the article. We intend to buy Admin Menu editor today! Do you know of a good plugin that would keep new site creators, in a mu setup limited to Author privileges in “their” site ?

    Thanks!

    Jason and Mauro


  10. If you want to lower admin privileges on individual sites you’ll definitely want some kind of role management. The Admin Menu editor just hides/adjusts the menu placement. If they know the full admin link, they’d still be able to access those areas.

    What you’re looking for is a “membership” plugin. I know that Justin Tadlock had worked on a plugin for wordpress called members and here’s a link. It may accomplish what you want, but I’ve never tested it myself on multi-site. There are several out there if you do a google search.

    Also, wpmu premium dev just released a pretty full-featured plugin that I believe would do what you’re looking for, but it may be overkill.

  11. Lee H

    What a action packed and informative write up. You sparked ideas that I didn’t even know were considerations when running in multisite mode. What brought me here was my quest to create a custom wp-signup.php without messing with the core. Mine’s currently modified to the teeth and I’d like to resolve this before my next core upgrade (yikes). The script you shared to block access to wp-signup.php sounds great as it seems to help kill two birds with one stone. I can have my alternate signup and divert some splog attempts. However, how would someone address the “register” link presented in wp-login.php? When used, wp-login.php redirects to wp-signup.php if multisite is enabled. Any thoughts would be appreciated.

    Have a great day!

  12. John

    Word of caution, if you’re using multisite on a shared hosting account (which isn’t considered a best practice and as your site gains traffic, you’ll want to make the move to a VPS) you may be required to manually add a “parked domain” for each new domain a user wants to use. The domain mapping plugin will match your users domain name to their specific subdomain on your WordPress installation.

    No, this won’t work in every case. You can park a domain in cpanel ONLY on top your MAIN cpanel domain.

    That means if you did not install WordPress multi user under your main cpanel domain, then don’t park the domain you want to add to your network, because it won’t work!

    Instead, do this: http://support.hostgator.com/articles/cpanel/how-to-park-a-domain-on-an-addon-domain

    Every blog post which discuss the domain mapping plugin forget to mention this, and this drive a lot of people nuts.


  13. @Lee H – If someone clicks on the register link they get redirected to the signup which then redirects them to the home page.


  14. I agree with @Ron

    For most of my sites I build a custom login form into the homepage (or other page) so the default wp-login is only seen occasionally by users – who don’t need to register. A majority of the time, someone going to the login page and then trying to sign up is going to be a spammer.

  15. Lee H

    @Ron -@James – I see both your points and I agree. And though I’m a stranger to you, you both are very familiar to me and I wouldn’t think of challenging your expertise. Your approach will certainly shake things up for the sploggers and spammers. But I don’t want to frustrate potential new members expecting to land on a register page and then find themselves trying to figure out what went wrong. For a new user to get a blog on my site is a two step process. The wp-signup.php is modified to only present the “get a user name” portion of the form if the person isn’t logged in. And then when they return they will get the remainder of the form to get themselves a blog. They can’t sign up for both in one shot. It will also limit them to a defined number of blogs. Then I had to change the displayed texts and email snippets to reflect this as well.

    I’ve already begun a plugin to embed all the wp-signup /wp-activate stuff directly into a WordPress page so I can have a short URL like mysite.com/signup without adding extra to the root directory and keeping it portable if I need to switch themes. And most importantly gain control of how they behave without messing with the core. Heck… I might attempt to merge wp-login into it as well if I have the extra time and feel froggy.

    I’m sorry if this reply isn’t worded well, my kids aren’t allowing me to write it in peace :)
    Cheers, Lee


  16. Thanks for the post!
    One thing is that Plugin Commander you mentioned is no longer in that link, it redirects to their home page, I assume it’s now a pay only plugin.

    And a question Is there a way to let users not only create new blogs, butalso let them install their themes or plugins via the network?
    It sounds that for security it’s not possible, but is there a way anyway to do that?

    Thanks


  17. Hiya Maor,

    Yeah, I believe they have pulled all of the out-dated “free” plugins in order to make things easier to manage in the short term.

    I’ve uploaded a separate version that I’ve used in the past (which also was in the WPMU DEV free section). I know I took a look at updating it for 3.0, but haven’t used it in several months. Still, might be worth giving it a shot:
    Plugin Manager: http://db.tt/NH8aiUJ

    Hope this helps! Thanks! :D


  18. Hi,

    Excellent write-up, thank you! I have a question for a WP 3 network of sites I am setting up. I want to hard code an opt-in form into the themes, but make it dynamic so that, if someone fills it out on a sub-site, it goes to that site’s listed admin email (listed in the general settings section). Any thoughts on an out of the box solution for this?

    Thanks!

    Kindly,

    Michael

Comments are closed.