Network Admin Redirect Loop
-
This issue is doing my head in and any help would be really appreciated.
I have a multisite and I can either log into the Network Admin only. Or log into the sub sites only.
In WP-CONFIG
If I have the following, I can log into the Network Admin. But when I try to log into any of the other sites within the multisite, I get the redirect loop saying my password is incorrect.define( ‘WP_ALLOW_MULTISITE’, true );
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, true );
define( ‘DOMAIN_CURRENT_SITE’, ‘travelcation-group.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );If I add the following code below.
Then I will be able to log into the subsites, but now I can’t get back to network admin to as it goes into the redirect loop.define( ‘ADMIN_COOKIE_PATH’, ‘/’);
define( ‘COOKIE_DOMAIN’, ”);
define( ‘COOKIEPATH’, ”);
define( ‘SITECOOKIEPATH’, ”);My temporary solution at the moment is to take out the last 4 lines of code every time I need to update a plugin at Network Admin. And at those lines back in again to go into the subsites.
But this is not a solution.
Wondering if anyone has seen this issue before and any fix?Thank you
The topic ‘Network Admin Redirect Loop’ is closed to new replies.