WordPress Multisite: Subsites Show Errors or Wrong Domain
Network problems usually come from domain mapping, wildcard DNS or wp-config settings.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Check
- Subdomain or subfolder mode? Subdomain networks need a wildcard DNS record (
*.example.com) and matching wildcard SSL. - wp-config.php constants such as
WP_ALLOW_MULTISITE,MULTISITE,DOMAIN_CURRENT_SITEmust match the real domain. - .htaccess rules differ for multisite. Use the ones WordPress shows in Network Setup.
- Mapped domains need DNS pointing to the server and the mapping saved in Network Admin.
- Cookies across domains need the correct cookie domain setting.
Before changes
Back up the whole network, files and every table. See WordPress backups. Multisite changes affect all sites at once.
Related guides
- YouTube Video Embed Not Working or Showing an Error on Your Website
- Yoast SEO or Rank Math Sitemap Shows 404 or Is Empty
- WordPress XML Sitemap Gives 404 or Is Not Generating
- Changed the WordPress Address (URL) and Now the Site or Login Is Broken
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.