Skip to content

Instantly share code, notes, and snippets.

@krogsgard
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krogsgard/b876ad16df0630ee2046 to your computer and use it in GitHub Desktop.
Save krogsgard/b876ad16df0630ee2046 to your computer and use it in GitHub Desktop.
Things to lookout for removing WordPress Multisite
<?php
define('WP_ALLOW_MULTISITE', true);
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'mysiteurl.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment