WordPress Multisite is a built-in feature that allows you to manage multiple websites from one WordPress installation. Each website can have its own content, users, themes, and plugins, while the network is managed centrally.
Step 1: Back up your website
Before making any changes, create a complete backup of your WordPress files and database. This allows you to restore your website if something goes wrong.
Step 2: Deactivate your plugins temporarily
Log in to your WordPress dashboard and navigate to Plugins → Installed Plugins. Deactivate all plugins temporarily to reduce the risk of compatibility issues during network setup.
Step 3: Enable Multisite in wp-config.php
Open the wp-config.php file in your WordPress root directory. Add the following line above the comment that says /* That's all, stop editing! Happy publishing. */.
define( 'WP_ALLOW_MULTISITE', true );
Save the file and return to your WordPress dashboard.
Step 4: Configure the network
Go to Tools → Network Setup in the WordPress dashboard.
Choose one of the following options:
- Subdomains:
site1.example.com
- Subdirectories:
example.com/site1
Follow the instructions displayed by WordPress. If you choose subdomains, your hosting and DNS configuration may also need to support wildcard subdomains.
Step 5: Update the configuration files
WordPress will provide configuration instructions for your wp-config.php file and, depending on your server configuration, your .htaccess file. Add the exact code generated by your WordPress installation.
If you use Nginx or another web server that does not use .htaccess, the rewrite rules must be configured in the appropriate server configuration instead.
Step 6: Log in again and configure the network
After saving the configuration, log out and log back in. You should see My Sites → Network Admin in the dashboard.
From Network Admin, you can add websites, manage users, control themes, and manage plugins across the network.
Step 7: Check compatibility
Reactivate your plugins one by one and test your website. Some plugins may not support Multisite or may require network-wide activation.
Important considerations:
- Multisite is best suited to websites that need centralized administration.
- Subdomain setups may require wildcard DNS and virtual-host configuration.
- Make sure your hosting plan has sufficient resources for all network sites.
- Take a full backup before changing configuration files.
- Enabling Multisite does not automatically convert every part of an existing website into a separate site.