In this WordPress tutorial, you will learn how to create create your own network of WordPress sites using WordPress Multisite feature.
Table Of Contents
What is WordPress Multisite?
WordPress Multisite is a feature that allows multiple sites to share a single WordPress installation, thus forms a network of sites. Sites of the same multisite network can share plugins and themes. You can convert an original WordPress site to support network of sites by enable multisite in the
In this tutorial, we use RunCloud Hybrid Server Stack (NGINX + Apache2) with .htaccess support. Please refer to WordPress Nginx documentation if you want to use Native Nginx server stack.
Also, you are recommended to use non-www site address (https://yourdomain.com) for WordPress multisite main site. It is to avoid the conflict with multisite subdomains.
You need to install WordPress first before you can activate WordPress Multisite. If you haven’t done so, please follow this tutorial to install WordPress on RunCloud.
Make sure your WordPress Pretty Permalinks is working and all plugins are deactivated.
Refer to Let’s Encryped Wildcard SSL certificate setup if you want use sub-domain for WordPress multisite.
Setup WordPress Multisite on RunCloud
WordPress Multisite is build-in the WordPress core. You do not need to install any plugin. But you need to enable multisite in the
Use RunCloud File Manager to edit
wp-config.php file located in the root folder of your WordPress installation.
Just right above the line:
/* That's all, stop editing! Happy blogging. */
/* Multisite */ define( 'WP_ALLOW_MULTISITE', true );
Then, save the
wp-config.php file and relogin your WordPress admin panel. You will see the new “Network Setup” menu under “Tools”.
Create a Network of WordPress Sites
Now you activated Multisite for your WordPress. It is time to setup your network of WordPress sites.
Goto Tools > Network Setup, and choose to use sub-domains (site1.yourdomain.com) or sub-directories (yourdomain.com/site1) for your sub-sites.
Sub-domains: each sub-domain site is considered a separate site from the main site by search engines. Recommended if you want to treat each site as individual site that is separated from your main site. Advance knowledge may be required.
Sub-directories: Each sub-directories is considered as part of the main site by search engines. Recommended if you want to create sub sites that’s related to the main site. Simple setup.
Note: Once applied, you cannot switch to the other network setup.
Give your network a title and enter an email address for Network Admin (Super Admin) and click Install button to create your WordPress network.
You will be asked to edit the
.htaccess files for your Multisite setup. You can easily edit them using RunCloud File Manager’s file editor. If you already have .htaccess file, replace all with the given lines.
Save the files after editing, and log out and log in WordPress admin panel again.
Network Admin Settings
Now you should see a new “My Sites” menu in the top left toolbar. All your multisite sub-sites will be listed there, as well as the Network Admin menu.
Under Network Admin menu, you can manage the multisite settings and the whole network’s sub-sites, users, themes, and plugins.
Hopefully this tutorial helps you to create your network of WordPress sites on RunCloud.
RunCloud Hybrid Server Stack is perfect to run WordPress Multisite with .htaccess support and high performance. The RunCloud online file editor allows you to easily edit configuration files right in the web browser.
How do you use WordPress Multisite? Please share with us in the comment.