2017 © Pedro Peláez
 

wordpress-plugin wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

image

stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  • Thursday, July 26, 2018
  • by jjj
  • Repository
  • 34 Watchers
  • 119 Stars
  • 5,567 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 33 Forks
  • 13 Open issues
  • 10 Versions
  • 22 % Grown

The README.md

WordPress plugin WordPress Build Status Latest Stable Version License, (*1)

WP Multi Network

Provides a Network Management Interface for global administrators in WordPress Multisite installations., (*2)

Turn your WordPress Multisite installation into many multisite networks, surrounding one global set of users., (*3)

  • Reveals hidden WordPress Multisite functionality.
  • Includes a "Networks" top-level Network-Admin menu.
  • Includes a List Table for viewing available networks.
  • Allows moving subsites between networks.
  • Allows global administrators to create new networks with their own sites and domain arrangements.
  • Group sites into logical networks using nearly any combination of domain (example.org) and path (/site/).

Installation

  • Download and install using the built in WordPress plugin installer.
  • Activate in the "Plugins" network admin panel using the "Network Activate" link.
  • Comment out the DOMAIN_CURRENT_SITE line in your wp-config.php file. If you don't have this line, you probably need to enable multisite.

Stash something like this in your wp-config.php to use a single cookie configuration across all sites & networks., (*4)

Replace example.com with the domain for the main site in your primary network., (*5)

// Cookies
define( 'COOKIEHASH',        md5( 'example.com' ) );
define( 'COOKIE_DOMAIN',     'example.com'        );
define( 'ADMIN_COOKIE_PATH', '/' );
define( 'COOKIEPATH',        '/' );
define( 'SITECOOKIEPATH',    '/' );
define( 'TEST_COOKIE',        'thing_test_cookie' );
define( 'AUTH_COOKIE',        'thing_'          . COOKIEHASH );
define( 'USER_COOKIE',        'thing_user_'     . COOKIEHASH );
define( 'PASS_COOKIE',        'thing_pass_'     . COOKIEHASH );
define( 'SECURE_AUTH_COOKIE', 'thing_sec_'      . COOKIEHASH );
define( 'LOGGED_IN_COOKIE',   'thing_logged_in' . COOKIEHASH );

Domain/Sub-domain flexibility

Stash something like this in your wp-config.php to make new site/network/domain creation and resolution as flexible as possible., (*6)

You'll likely need some server configuration outside of WordPress to help with this (documentation pending.), (*7)

// Multisite
define( 'MULTISITE',           true                  );
define( 'SUBDOMAIN_INSTALL',   false                 );
define( 'PATH_CURRENT_SITE',   '/'                   );
define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] );

// Likely not needed anymore (your config may vary)
//define( 'SITE_ID_CURRENT_SITE', 1 );
//define( 'BLOG_ID_CURRENT_SITE', 1 );

// Uncomment and change to a URL to funnel no-site-found requests to
//define( 'NOBLOGREDIRECT', '/404/' );

/**
 * These are purposely set for maximum compliance with multisite and
 * multinetwork. Your config may vary.
 */
define( 'WP_HOME',    'https://' . $_SERVER['HTTP_HOST'] );
define( 'WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] );

Single Sign-on

Single Sign-on is a way to keep registered users signed into your installation regardless of what domain, subdomain, and path they are viewing. This functionality is outside the scope of what WP Multi Network hopes to provide, but a dedicated SSO plugin made specifically for WP Multi Network is in development., (*8)

FAQ

Can I have separate domains?

Yes you can. That is what this plugin does best., (*9)

Will this work on standard WordPress?

You need to have WordPress Multisite enabled before using this plugin., (*10)

See: https://codex.wordpress.org/Create_A_Network, (*11)

Where can I get support?

Community: https://wordpress.org/support/plugin/wp-multi-network, (*12)

Development: https://github.com/stuttter/wp-multi-network/discussions, (*13)

What's up with uploads?

WP Multi-Network needs to be running to set the upload path for new sites. As such, all new networks created with this plugin will have it network activated. If you do disable it on one of your networks, any new site on that network will upload files to that network's root site, effectively causing them to be broken., (*14)

Leave this plugin activated, and it will make sure uploads go where they are expected to., (*15)

Can I achieve a multi-level URL path structure domain/network/site with subfolder network?

To achieve nested folder paths in this fashion network1/site1, network1/site2 etc, please follow the steps in this article to construct a custom sunrise.php (Thanks to Paul Underwood for providing these steps)., (*16)

Can I contribute?

Yes! Having an easy-to-use interface and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out! Read more in the plugin contributing guidelines., (*17)

The Versions

26/07 2018

dev-master

9999999-dev https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPLv2 or later GPL-2.0-or-later

The Requires

 

The Development Requires

by John James Jacoby

11/07 2018

dev-130-global-capability-checks

dev-130-global-capability-checks https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by John James Jacoby

18/05 2018

dev-132-fix-language-packs

dev-132-fix-language-packs https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPL-2.0-or-later

The Requires

 

by John James Jacoby

12/05 2018

dev-ci

dev-ci https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPL-2.0-or-later

The Requires

 

by John James Jacoby

12/05 2018

2.2.0

2.2.0.0 https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPL-2.0-or-later

The Requires

 

by John James Jacoby

06/02 2018

2.1.0

2.1.0.0 https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPL-2.0-or-later

The Requires

 

by John James Jacoby

29/11 2016

dev-api

dev-api https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPLv2 or later

The Requires

 

by John James Jacoby

16/08 2016

1.8.1

1.8.1.0 https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPLv2 or later

The Requires

 

by John James Jacoby

16/08 2016

1.8.0

1.8.0.0 https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPLv2 or later

The Requires

 

by John James Jacoby

09/12 2015

1.7.0

1.7.0.0 https://github.com/stuttter/wp-multi-network

A Network Management UI for global administrators in WordPress Multisite

  Sources   Download

GPLv2 or later

The Requires

 

by John James Jacoby