Skip to content

Instantly share code, notes, and snippets.

@matgargano
Created February 26, 2020 02:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matgargano/6060f5d86a77cf354c437b692b25f7a6 to your computer and use it in GitHub Desktop.
Save matgargano/6060f5d86a77cf354c437b692b25f7a6 to your computer and use it in GitHub Desktop.
multisite instructions
add to wp-config:
Config::define('WP_ALLOW_MULTISITE', true);
deploy site
go to tools > network setup, select subdomains
save , etc.
add to wp-config
Config::define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
Config::define('MULTISITE', true);
Config::define('SUBDOMAIN_INSTALL', true);
Config::define('PATH_CURRENT_SITE', '/wp/');
Config::define('SITE_ID_CURRENT_SITE', 1);
Config::define('BLOG_ID_CURRENT_SITE', 1);
deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment