0

Looking for a way to enable the Multi-Network feature without the WP Multi Network plugin. Essentially, I'm running into some errors with it where my subsites can't be accessed, so I wanted to see if there was an alternative way to enable the feature.

0

Sorry for inconvenience caused and you are looking for multi network feature without plugin so you need to do some stuff on code to access sub sites:

// 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', 'http://' . $_SERVER['HTTP_HOST'] );

define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] );

For maximum flexibility, use something like this above

  • That is for setting up a multisite, what I'm looking for is a way to setup multiple networks under one site, like the plugin I mentioned does – Creative Cache Jun 12 at 12:36
  • Again, this is for a multisite setup as opposed to a multi-network. MultiNetwork – Creative Cache Jun 12 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.