Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to set up Wordpress Multisite properly and I've got all the sites up, but only the primary domain's wp-admin can be accessed. I've seen various fixes for it but they only cause bigger issues. I've tried adding the following to wp-config.php, as per the instruction of several blog posts stating that this was a fix:

define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');

However, when I add those lines, I receive the following error:

The constant “COOKIE_DOMAIN” is defined (probably in wp-config.php). Please remove or comment out that define() line.

I found a fix for that error that stated moving domain_mapping.php to wp-content/mu-plugins (or wp-content/plugins) is supposed to fix that error, but it did not.

I'm at a loss for how to proceed. I do think it has something to do with my domain mapping settings but I don't know how to fix that. I've added some of my domains (50 total) to test with, but I don't see how they're mapped to anything with the sparse configuration for each available in Wordpress.

Any help is appreciated.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.