• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created about 10 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A network management interface for global multisite administrators

WordPress plugin WordPress Build Status Latest Stable Version License

WP Multi Network

Provides a Network Management Interface for global administrators in WordPress Multisite installations.

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

  • 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.

Cookie Configuration

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

Replace example.com with the domain for the main site in your primary network.

// 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.

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

// 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.

FAQ

Can I have separate domains?

Yes you can. That is what this plugin does best.

Will this work on standard WordPress?

You need to have WordPress Multisite enabled before using this plugin.

See: https://codex.wordpress.org/Create_A_Network

Where can I get support?

Community: https://wordpress.org/support/plugin/wp-multi-network

Development: https://github.com/stuttter/wp-multi-network/discussions

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.

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

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).

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.

More Repositories

1

ludicrousdb

LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning
PHP
505
star
2

wp-spider-cache

Your friendly neighborhood caching solution for WordPress
PHP
135
star
3

wp-user-profiles

⭐️ Better Profiles for WordPress
PHP
106
star
4

wp-term-order

Sort taxonomy terms, your way
PHP
96
star
5

wp-datepicker-styling

jQuery UI Datepicker styling to match WordPress color schemes
SCSS
80
star
6

wp-meta-manager

Manage all of the meta-data in your WordPress installation
PHP
65
star
7

wp-relationships

Under occasional development. Probably broken. Use at your own risk. PRs encouraged. 🐉
PHP
54
star
8

wp-user-groups

Group users together with taxonomies & terms
PHP
48
star
9

wp-site-aliases

User-defined site-aliases for your multisite installation
PHP
46
star
10

wp-user-signups

Signup management for WordPress
PHP
45
star
11

wp-event-calendar

The best way to manage events in WordPress
PHP
45
star
12

wp-user-activity

The best way to log activity in WordPress
PHP
43
star
13

wp-term-images

Images for categories, tags, and other taxonomy terms
PHP
34
star
14

wp-user-avatars

Allows registered users to upload and select their own avatars
PHP
31
star
15

wp-term-meta

Metadata, for taxonomy terms.
PHP
29
star
16

wp-blog-meta

A global, joinable meta-data table for your WordPress Multisite sites
PHP
26
star
17

wp-db-table

A base WordPress database table class
PHP
26
star
18

wp-media-categories

Categories for media & attachments
PHP
25
star
19

wp-site-cloner

Create sites with content from other sites
PHP
23
star
20

wp-chosen

Makes long, unwieldy select boxes much more user-friendly.
SCSS
21
star
21

wp-auto-linker

Automatically link keywords to users, tags, categories, pages, and more
PHP
17
star
22

wp-term-families

Families for taxonomy terms
PHP
15
star
23

wp-user-parents

Allow users to delegate control of their accounts to other users
PHP
15
star
24

wp-term-icons

Pretty icons for categories, tags, and other taxonomy terms
PHP
12
star
25

wp-heart-throb

Shows a beating heart in your toolbar for each tick of the heartbeat API
PHP
12
star
26

wp-user-preferences

Prefer user settings over site & network settings
PHP
12
star
27

wp-pretty-filters

Makes post filters match Media & Attachments
PHP
12
star
28

wp-semantic-ui

Semantic UI styling, enqueued for your WordPress http://semantic-ui.com
PHP
10
star
29

wp-comment-humility

Move the "Comments" admin menu underneath "Posts"
PHP
9
star
30

wp-term-visibility

Visibility for categories, tags, and other taxonomy terms
PHP
9
star
31

wp-term-locks

Locks for categories, tags, and other taxonomy terms
PHP
9
star
32

wp-term-colors

Pretty colors for categories, tags, and other taxonomy terms
PHP
8
star
33

wp-user-edit

Allow site administrators to edit users on their sites
PHP
8
star
34

wp-article-order

Move articles to the end of post titles, for improved title sorting
PHP
6
star
35

wp-term-authors

Authors for categories, tags, and other taxonomy terms
PHP
6
star
36

wp-post-publish-ays

Shows an "Are you sure?" message before posts go live
PHP
5
star
37

bbp-jp-markdown

Use Jetpack's Markdown in bbPress Forums, Topics, and Replies
PHP
5
star
38

wp-reset-filters

Adds a "Reset" button to filters
PHP
4
star
39

wp-user-alerts

Nothing to see here yet
PHP
3
star
40

wp-dialog-styling

jQuery UI Dialog/Modal styling to match WordPress color schemes
1
star