- First, add the following code to your
wp-config.php
file:
define('WP_ALLOW_MULTISITE', true);
- Next, access the admin dashboard and choose between subdirectory or subdomain setups for your multisite.
- After that, WordPress will display the code you need to add to your
.htaccess
andwp-config.php
files. Copy and paste the provided code into the respective files as instructed. - Create a child site to test the configuration.
Troubleshooting
If you encounter the error “ERR_TOO_MANY_REDIRECTS” when accessing the dashboard of a child site:
- Go to your
.htaccess
file. - Remove any text other than the code added in step 3.
- Save the changes.
Comment