Setting up Multisite in WordPress allows you to manage multiple sites from a single WordPress installation. This is useful when you need to manage multiple sites with shared resources, plugins and themes. Here are step-by-step instructions on how to set up Multisite:
Step 1: Backup
Before starting any changes, make a full backup of your site. This will avoid data loss in the event of a problem.
Step 2: Modify the wp-config.php file
Open the wp-config.php file of your WordPress installation and add the following code before the line /* That’s all, stop editing! Happy blogging. */
define(‘WP_ALLOW_MULTISITE’, true); |
Step 3: Install Multisite through the admin panel
- Go to the WordPress admin panel.
- Go to Tools -> Network.
- Select the type of customization: subdomains or subdirectories. Subdomains require DNS configuration and subdirectories work without additional configuration.
- Fill in the required fields (network name, superadministrator email address) and click “Install”.
- You will be prompted to make changes to the .htaccess and wp-config.php files. Follow the on-screen instructions and add the suggested code to the appropriate files.
Step 4: Log in to the network admin panel
After Multisite installation is complete, log in to the superadmin admin panel. Now you will be able to manage the sites on your network.
Step 5: Add new sites
- In the network admin panel, go to “Sites” -> “Add New”.
- Fill in the required fields (site address, site name, administrator’s e-mail address).
- Click “Add Site.”
Step 6: Site Management
You can manage settings, plugins, and themes for each site independently, as well as add new sites and users.