0

I used the MU Domain Mapping plugin to map the domains, Currently, I am not able to login into other subsites which are pointed to other domains.

It is showing me the error.

The domain mapping plugin only works if the site is installed in /. This is a limitation of how virtual servers work and is very difficult to work around.

I used the below settings in wp-config file.

define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'mydomainname');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

define( 'SUNRISE', 'on' ); 

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

Please help me.

-1

This is because your admin user account isn't recognised on sub-domains anymore. Log into the network dashboard sites section, http://<your-domain>/wp-admin/network/sites.php, edit each of your sub-domains and add your user account as an admin role.

  • you may also have to clear your cache/reset the wordpress salts. – Aurovrata Apr 27 '18 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.