This article describes how to create and configure a WordPress multisite network. Multisite networks enable you to manage multiple WordPress from one convenient interface.
For example, you may have a main site, a blog, and an online store. Instead of creating three separate WordPress installations for these sites, you can create and manage them from a single location using a multisite network. In a WordPress multisite network, themes and plugins are installed just once, and you can activate them independently for each site. Multisite networks can also help improve overall security, because you only have to maintain and update one site.
The following procedure assumes that you have at least one WordPress installation already configured and running. To create and configure a multisite network, follow these steps:
define('WP_ALLOW_MULTISITE', true);
Before you can enable multisite, you must temporarily deactivate all of the site's plugins. On the left sidebar, click Plugins, and then click Installed Plugins:
On the left sidebar, click Tools, and then click Network Setup:
The Create a Network of WordPress Sites page appears:
Under Addresses of Sites in your Network, select Sub-domains or Sub-directories.
You are now ready to enable the network, but before you do this, you should create a backup of the following files:
To enable the network, copy the custom code blocks into the wp-config.php and .htaccess files.
Log out and then log in again as the WordPress administrator. The new My Sites menu option appears in the top menu bar:
All of your sites in the network appear in this menu, as well as the Network Admin menu. The Network Admin menu contains the following options:
To disable the multisite network at any time, follow these steps:
To revert a WordPress multisite installation back to a single site, follow these steps:
/* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); define( 'DOMAIN_CURRENT_SITE', 'example.com' ); define( 'PATH_CURRENT_SITE', '/example/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
Change the first two lines in the multisite section to false:
define( 'WP_ALLOW_MULTISITE', false ); define( 'MULTISITE', false );
Comment out or delete the remaining lines in the multisite section:
/* define( 'SUBDOMAIN_INSTALL', false ); define( 'DOMAIN_CURRENT_SITE', 'example.com' ); define( 'PATH_CURRENT_SITE', '/example/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); */
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.