This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Networks for WordPress

Description

Adds a Networks panel allowing network admins to create and manage multiple Networks from one WordPress installation. Each Network can exist on its own domain, and have its own set of blogs / Sites.

Each Network can have its own set of plugins, themes, administrators, permissions, and policies, but all will share a database of user accounts.

Sites can be moved freely among Networks.

Notes

Each Network will require changes to your web server and DNS.

See Frequently Asked Questions for detailed instructions.

Translation

Known Issues

  • Plugins that create global (i.e. not blog-specific) tables will behave as though they are on a single network install. This is a limitation of WordPress’s table naming scheme.

Installation

  1. Extract the plugin archive
  2. Upload plugin files to your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Comment out DOMAIN_CURRENT_SITE in your wp-config.php file.
  5. Copy networks-mufunctions.php into your mu-plugins folder. This is not required but is highly recommended. See FAQ for more details.

FAQ

How do I set up new domains as networks with a single WordPress install?

Your webserver must direct requests for each domain you want to use to your WordPress install’s filesystem location.

Here’s a quick overview:

  1. DNS should resolve each desired domain to your web server.
  2. Configure your web server to direct requests for each desired domain to the same site (e.g. via ServerAlias directives or Host Headers)

Tip: You can use the New Network Preview feature to verify DNS and server configuration BEFORE creating your networks.

What’s with `networks-mufunctions.php`?

This file has fixes for unusual network topologies, like networks without a root site or those more than one subdirectory deep.

The fix for networks with deep paths was graciously contributed by Spencer Bryant.

For a long time I avoided bundling fixes like these, since I was committed to having this plugin run only when needed by the dashboard.
This file does not rely on the rest of Networks for WordPress to function, so you are free to copy it to your mu-plugins folder and use it on its own.

This seemed like a good compromise. If you have thoughts, let me know in the comments!

If you are on WP 3.5 – 3.6.1 and want to use native file uploads, you must either:

  1. Activate the Networks plugin on all of your networks, OR
  2. Copy networks-muplugins.php into your mu-plugins folder

If you do not do this, your uploaded files will end up in unexpected places.

This is not needed for WP 3.7+.

Reviews

Logout Issues

Dear Sir,

only the site(s) on the root/first network can successfully logout. For any other networks and their associated sites, when we try to log out we get the WordPress Failure Notice prompt asking if we really want to log out. If we confirm we want to log out it will take us back to the login screen saying you are now logged out, but it never actually logs out of the user. Going back to /wp-admin takes you right in.

I then manually clear all the cookie from the browser. When the cookie are cleared, I see that the sessions are actually logged out now.

It means that in the network and associated sites, cookies are not getting cleared upon logout. Can you please help me to solve this issue.

Thanks a regards

Read all 12 reviews

Contributors & Developers

“Networks for WordPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.6

  • Changed: Native upload handling on WP 3.7 without this plugin active
  • Changed: Made text labels more consistent with WP terminology
  • Changed: Made siteurl replacement trailing slash-insensitive when changing network path – fix contributed by mgburns!
  • Fixed: changing network domain or path could reset site paths – fix contributed by mgburns!
  • Fixed: PHP warning when viewing the Networks admin screen – thanks, zawszaws

1.1.5

  • Added: ability to set upload handling per network
  • Added: switch blog_id when switching sites / networks
  • Fixed: primary sites on all networks used the same upload path (WP 3.5+ only) – thanks, RavanH

1.1.4

  • Added: Slovak translation provided by Branco, (WebHostingGeeks.com)
  • Added: Delete rewrite rules when moving a site – thanks, mgburns
  • Changed: New network’s root site inherits the search-engine visibility of the site used to create it – thanks, Christian Wach
  • Fixed: Squashed PHP warnings when WP_DEBUG is true – contributed by Christian Wach
  • Fixed: Bug fixes in restore_current_site – contributed by Christian Wach

1.1.3

  • Added: networks-mufunctions.php file containing fixes for unusual Network topologies. See FAQ for details
  • Changed: made visual changes to fit in with the WP dashboard
  • Changed: assign sites select boxes are now bigger (varies by number of sites)
  • Fixed: bug that prepended the domain name on to sites whose path matched the network’s when moving – thanks, sharonmiranda!
  • Fixed: provide SSL network URLs when required – thanks, Spencer Bryant

1.1.2

  • Added: Screen Options for selecting number of Networks per page
  • Changed: add_site function now defaults to a path of ‘/’ if one is not supplied
  • Fixed: searching and sorting by Network Name – thanks, skvwp

1.1.1

  • Added: descriptions for MANY more sitemeta keys, using WP native strings where possible
  • Added: placeholders for most text fields
  • Added: is_super_admin_for() function for checking permissions on other networks
  • Changed: reorganized the “Create a Network” panel to be more intuitive
  • Changed: (for developers) $options_to_copy now carries the sitemeta keys to be cloned as values instead of keys
  • Changed: switched to add_query_arg() where possible
  • Changed: split code up into different files for easier maintenance
  • Fixed: hardcoded URL that may have prevented some from deleting networks in bulk

1.1.0

  • Added: New Network Preview will try to check mapped domains for possible collisions
  • Changed: upload_filetypes is now cloned by default, so you don’t have to save settings before uploading files on new networks

1.0.9

  • Added: enhanced help menu for WP 3.3
  • Added: ability to restrict Networks Menu to a certain Network with the RESTRICT_MANAGEMENT_TO constant
  • Added: WP 3.3 help pointer
  • Changed: removed ability to delete the primary network
  • Fixed: enhanced compatibility with WP < 3.1 – thanks, suresh.sambandam

1.0.8

  • Added: support for the siteurl sitemeta entry
  • Changed: Updated Help screen to display in WP 3.3
  • Fixed: Adding a network now displays the correct update message

1.0.7

  • Added: Network diagnostic screen
  • Changed: allow Site assignment page to continue even if a blogname key is missing

1.0.6

  • Added: hooks with new wpms prefixes
  • Fixed: enabled checkbox to avoid creating a root blog. This is for advanced users only.

1.0.5

  • Added: better documentation in the Help tab
  • Added: basic automated validation of new Network settings
  • Removed: documentation on domain names that no longer applies

1.0.4

  • Changed: show each network only once in Move Site field, regardless of metadata issues
  • Fixed: a bug affecting network installs with old table name scheme (created before WP 3.0)
  • Fixed: admin display bug affecting WP 3.2 installs

1.0.3

  • Changed: processing to ensure that new Network paths are always valid
  • Changed: documentation on new Networks
  • Fixed: short_open_tag off compatibility

1.0.2

  • Fixed: a bug that showed the Networks panel in the Site Admin backend on 3.1
  • Fixed: a typo that left network-dependent blog options behind when moving blogs – thanks, edmeister

1.0.1

  • Fixed an issue with the link to Network backends for versions before 3.1 – thanks, RavanH

1.0

  • Initial release