(This article assumes you have a live WordPress website. Not quite there yet? That’s okay! We can get you up and running with a WordPresss Hosting site.)
Do you need to manage multiple installations of WordPress? Maybe you have a lot of separate blog sites or are managing sites for a classroom setting. You should consider setting up a WordPress “Network” also known as WordPress Multisite or MultiUser (MU). All the sites will use the same WordPress installation but different tables in the database and media folders. You can host the sites on different subdomains or subdirectories. Manage the access levels and available 3rd party plugins and addons since the sites share themes and plugins. Are you ready to create your own platform similar to WordPress.com, where visitors can create their own sites? Well follow along and learn how to set up a WordPress Network by enabling the multisite feature.
How to Set up a WordPress Network (Multisite)
Now that you’ve decided to use a WordPress Multisite or Network, you’ll need to change your existing WordPress install. Follow these steps to enable the WordPress Network feature known as Multisite. Before proceeding, you should decide if you want the site created in separate subdirectories or subdomains.
- If you are using the subdomain option, setup a wildcard subdomain first. If you are using subfolders just proceed to the next step.
- Edit the wp-config.php file.
- Add the following code to your wp-config.php file after the line that says “That’s all, stop editing! Happy publishing.” Save it.
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
- Log into your WordPress Dashboard.
- Click Tools then Network Setup.
- Choose if you want to use the Sub-domains or sub-directories.
- Enter your Network Title.
- Add your Network Admin Email address.
- Click the Install button.
You will then see two sections of code.
- Copy & Paste the first code into your wp-config.php file before the line that says “That’s all, stop editing! Happy publishing.” Be sure to save the changes.
- Copy & Paste the second code to your .htaccess file and replace everything between the “# BEGIN WordPress” and “# END WordPress” lines. Save your changes.
- Log back into your WordPress Dashboard. You can now click My Sites then Add New to create new WordPress sites in your network.
- If you want to allow users to register, roll your mouse over My Sites and Network Admin then click settings. Next to “
Allow new registrations” you can choose if you want to allow users to register accounts, sites, or both.
Now, that you know how to create a WordPress Network (Multisite), you can start creating WordPress websites on demand. For further reading, see our section on the WordPress Network.