I am having problems with creating a sub-domain multisite. I use Softaculous for my installation of which I activated Enable “Multisite (WPMU)” My installation run perfectly is I run sub-directories. The headache pops up when I want to change from sub-directories to sub-domains.
Immediately when I can my wp-config from:
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘ochrio.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
To this
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘ochrio.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
I get this errors
Warning: Cannot modify header information – headers already sent by (output started at /home/ochrioco/public_html/wp-config.php:1) in /home/ochrioco/public_html/wp-includes/option.php on line 750
Warning: Cannot modify header information – headers already sent by (output started at /home/ochrioco/public_html/wp-config.php:1) in /home/ochrioco/public_html/wp-includes/option.php on line 751