Multisite cookie issue
-
Hello. I host a multisite installation for a client, and ran into some problems when adding an “outside” domain to one of the subsites. This is the addition made to wp-config.php:
/* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define( 'DOMAIN_CURRENT_SITE', 'maindomain.no' ); define( 'PATH_CURRENT_SITE', '/' ); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 2); define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); define('ADMIN_COOKIE_PATH', '/'); define( 'COOKIE_DOMAIN', '' ); define('COOKIEPATH', ''); define('SITECOOKIEPATH', '');
Here’s how the problem shows:
– only the “outside” domain and the main site can be logged in to. All subdomain-sites won’t accept user/pass.
– the “outside” domain seems to work normally, I can access Dashboard and edit objects.
– the main domain allows login, but attempts to edit objects or access dashboard redirects to this url (actual domain name changed) https://maindomain.no/innlogging/?redirect_to=https%3A%2F%2Fmaindomain.no%2Fwp-admin%2FAnyone have an idea on how to troubleshoot and fix this?
The page I need help with: [log in to see the link]
- The topic ‘Multisite cookie issue’ is closed to new replies.