WPMU with Subdomains and WP_SMF
-
This is just a little note of information for someone who may have trouble down the road:
If you’re running WPMU with the main site on a subdomain, like wpmu.yourdomain.com, you could run into cookie troubles with the WP_SMF bridge. To fix it, you need to set your cookies globally. In wp-settings.php, change this line:
define('COOKIE_DOMAIN', '.' . $current_site->domain);
to this:
define('COOKIE_DOMAIN', '.' . "yourdomain.com");
where “yourdomain.com” is the domain name of your site WITHOUT any subdomains in it.
cheers ??
- The topic ‘WPMU with Subdomains and WP_SMF’ is closed to new replies.