Troubleshooting Common WordPress Multisite Network Setup Issues
Content
Setting up a WordPress Multisite network can be a powerful way to manage multiple sites from a single dashboard. However, the process is complex and often leads to a variety of common errors that can leave users frustrated. Based on community reports, this guide outlines the most frequent problems and their solutions.
1. The "Network Setup" Option is Missing from the Tools Menu
Problem: After adding define('WP_ALLOW_MULTISITE', true); to the wp-config.php file, the 'Network Setup' option does not appear under Tools > Network Setup.
Why it happens: This is almost always caused by the code being added to a local file that was not uploaded back to the live server. The change must be made directly on the server's wp-config.php file.
Solution:
- Use FTP or your hosting provider's file manager to directly edit the
wp-config.phpfile on your server. - Ensure the code is placed above the line that says
/* That's all, stop editing! Happy publishing. */. - Save the file and refresh your WordPress admin dashboard.
2. Error 404 or "Page Not Found" for Network Admin or New Sites
Problem: After creating the network, clicking on "Network Admin" or trying to visit a newly created site results in a 404 error.
Why it happens: This is typically a server configuration issue. For subdomain installations, a wildcard subdomain must be set up in your DNS, pointing to your main site's root directory. Furthermore, the web server (Apache or Nginx) must be configured to recognize these virtual subdomains.
Solution:
- For Apache: Ensure the Multisite-generated rewrite rules are correctly placed in your
.htaccessfile. - For Nginx: The
.htaccessfile is ignored. You must manually add the equivalent rewrite rules to your server's Nginx configuration file (e.g.,nginx.confor a site-specific config file). - For Subdomains: Contact your hosting provider to confirm they support wildcard subdomains and ask for assistance in configuring them correctly. The subdomains should be virtual, not pointing to separate physical directories.
3. "The link you followed has expired" When Adding a New Site
Problem: When attempting to add a new site within the network admin, the process fails with the error "The link you followed has expired."
Why it happens: This error is often related to server resource limitations, such as PHP's max_input_vars or max_execution_time being too low for the Multisite operations.
Solution:
- Increase PHP limits by creating or modifying a
php.inior.user.inifile in your site's root directory. Key values to increase include:max_input_vars = 3000max_execution_time = 300upload_max_filesize = 64Mpost_max_size = 64M
- If you cannot create these files, contact your hosting provider and ask them to increase these values for your account.
4. New Sites Are Listed But Not Accessible (No Tables Created)
Problem: The network admin shows a new site in the list, but it does not appear under "My Sites," and visiting its URL returns a error or a broken page. The database tables for the new site are not created.
Why it happens: The database user assigned to WordPress may not have sufficient privileges to create new tables.
Solution:
- Access your database management tool (e.g., phpMyAdmin).
- Check the privileges for the database user your WordPress site uses. This information is found in the
wp-config.phpfile. - Ensure the user has ALL PRIVILEGES granted for the WordPress database.
5. Constant Already Defined or Other wp-config.php Errors
Problem: After setup, you see PHP warnings like "Constant MULTISITE already defined" or experience other configuration errors.
Why it happens: The Multisite configuration code has been duplicated in the wp-config.php file.
Solution:
- Carefully review your
wp-config.phpfile. - Remove any duplicate lines related to Multisite, such as
define( 'MULTISITE', true );ordefine('WP_ALLOW_MULTISITE', true);. - Keep only one, clean set of the rules provided during the network creation process.
General Troubleshooting Tips
- Clear Caches: Always clear your browser cache and any server-side or plugin-based caches after making configuration changes.
- Check Error Logs: Your hosting provider should offer access to server error logs (e.g., in cPanel). These logs provide specific details about what is causing a 500, 403, or 404 error.
- Default Permalinks: If you are undoing a Multisite installation, note that removing its rules from
.htaccesswill reset your site to plain permalinks. You will need to re-save your permalink structure in Settings > Permalinks afterward.
WordPress Multisite is a complex feature that interacts deeply with server settings. If these steps do not resolve your issue, your hosting provider is often the best resource, as they can directly check server configurations and error logs specific to your environment.
Related Support Threads Support
-
Multisite install doesnt styart up anymore after deactivatinghttps://wordpress.org/support/topic/multisite-install-doesnt-styart-up-anymore-after-deactivating/
-
No options under network setuphttps://wordpress.org/support/topic/no-options-under-network-setup/
-
Multisite not working properlyhttps://wordpress.org/support/topic/multisite-not-working-properly-3/
-
An existing WordPress network was detected. Can’t get multisite to workhttps://wordpress.org/support/topic/an-existing-wordpress-network-was-detected-cant-get-multisite-to-work/
-
Multisite installation: nothing happenshttps://wordpress.org/support/topic/multisite-installation-nothing-happens/
-
Not seeing the CREATED NETWORK after following the installation stepshttps://wordpress.org/support/topic/not-seeing-the-created-network-after-following-the-installation-steps/
-
WordPress Multi-site Lost Root Domainhttps://wordpress.org/support/topic/wordpress-multi-site-lost-root-domain/
-
Cannot Add Usershttps://wordpress.org/support/topic/cannot-add-users-3/
-
Problems with WP Multisitehttps://wordpress.org/support/topic/problems-with-wp-multisite/
-
Multisite – No Sites generatedhttps://wordpress.org/support/topic/multisite-no-sites-generated/
-
Add new site not creating new sitehttps://wordpress.org/support/topic/add-new-site-not-creating-new-site/
-
Created, but cannot enable the Networkhttps://wordpress.org/support/topic/created-but-cannot-enable-the-network/
-
Multisite not admin barhttps://wordpress.org/support/topic/multisite-not-admin-bar/
-
Multisite bughttps://wordpress.org/support/topic/multisite-bug-9/
-
Trying to create multisite – network created but then get 404 pagehttps://wordpress.org/support/topic/trying-to-create-multisite-network-created-but-then-get-404-page/
-
Multi Sites Not Letting me Create a new Sitehttps://wordpress.org/support/topic/multi-sites-not-letting-me-create-a-new-site/
-
The wordpress admin bar has no stylinghttps://wordpress.org/support/topic/the-wordpress-admin-bar-has-no-styling/
-
Falta da opção de Configuração de Redehttps://wordpress.org/support/topic/falta-da-opcao-de-configuracao-de-rede/
-
Can’t Deactivate Plugins to Create MultiSitehttps://wordpress.org/support/topic/cant-deactivate-plugins-to-create-multisite/
-
Network Setup not showing under toolshttps://wordpress.org/support/topic/network-setup-not-showing-under-tools/
-
How to disable WordPress multisite networkhttps://wordpress.org/support/topic/how-to-disable-wordpress-multisite-network/
-
Tools > Network Setup option not therehttps://wordpress.org/support/topic/tools-network-setup-option-not-there/
-
Completely Uninstall Multisite Networkhttps://wordpress.org/support/topic/completely-uninstall-multisite-network/
-
Added new site still has “Add New” Buttons for Themes/Pluginshttps://wordpress.org/support/topic/added-new-site-still-has-add-new-buttons-for-themes-plugins/
-
Erro ao criar Multisite em Localhosthttps://wordpress.org/support/topic/erro-ao-criar-multisite-em-localhost/
-
Despite disabled, new users can add users and manage pluginshttps://wordpress.org/support/topic/despite-disabled-new-users-can-add-users-and-manage-plugins/
-
Enabling Network Issuehttps://wordpress.org/support/topic/enabling-network-issue/
-
Error when trying to Add New Sitehttps://wordpress.org/support/topic/error-when-trying-to-add-new-site/
-
Multisite Adding New Site give me a message that the link has expiredhttps://wordpress.org/support/topic/multisite-adding-new-site-give-me-a-message-that-the-link-has-expired/
-
Multisite setup |https://wordpress.org/support/topic/multisite-setup-17/
-
Multisite Migration: Can’t Delete Two Redundant Sub-Siteshttps://wordpress.org/support/topic/multisite-migration-cant-delete-two-redundant-sub-sites/
-
How to debug multisite setup?https://wordpress.org/support/topic/how-to-debug-multisite-setup/
-
Create a network for wordpress site, deactivating plugins issuehttps://wordpress.org/support/topic/create-a-network-for-wordpress-site-deactivating-plugins-issue/
-
enabled existing network on localhost but WP cannot connect to the databasehttps://wordpress.org/support/topic/enabled-existing-network-on-localhost-but-wp-cannot-connect-to-the-database/
-
Creating a new site in WordPress networkhttps://wordpress.org/support/topic/creating-a-new-site-in-wordpress-network/
-
Multisite 404 Errorhttps://wordpress.org/support/topic/multisite-404-error-6/
-
selection for path-based network not shownhttps://wordpress.org/support/topic/selection-for-path-based-network-not-shown/
-
Nothing happens when creating a Network for multisitehttps://wordpress.org/support/topic/nothing-happens-when-creating-a-network-for-multisite/
-
issues creating networkhttps://wordpress.org/support/topic/issues-creating-network/
-
Problem installing multisitehttps://wordpress.org/support/topic/problem-installing-multisite-2/
-
Transfer my WordPress Multisite to another directoryhttps://wordpress.org/support/topic/transfer-my-wordpress-multisite-to-another-directory/
-
Enable site in databasehttps://wordpress.org/support/topic/enable-site-in-database/
-
Publishing failed. You are probably offline.https://wordpress.org/support/topic/publishing-failed-you-are-probably-offline/
-
Error when trying to Add New Site, “link you followed has expired”https://wordpress.org/support/topic/error-when-trying-to-add-new-site-link-you-followed-has-expired/
-
Cannot set up multisitehttps://wordpress.org/support/topic/cannot-set-up-multisite/