Multisite on Subdomains redirects to main site (subdomain too)
-
Hei Guys,
trying to get a Multisitenetwork running.
sub0.domain.tld (maininstall)
sub1.domain.tld (directory is the same like sub0)
sub2.domain.tld (directory is the same like sub0)If I open sub1 oder sub2 in the browser, it redirects to sub0.
The config file part to multisite:
define(‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘sub0.domain.tld’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);Have tried it with another TLD too. That works.
otherdomain.tld (directory is the same like sub0.domain.tld)Thanks in advance, sprul
- The topic ‘Multisite on Subdomains redirects to main site (subdomain too)’ is closed to new replies.