• Hi, I’m running a multisite with a subdirectory. I can access both sites admin dashboard, but on both home dashboards im told to update my network, but this sends me into a redirect loop, and im not able to access the network admin dashboard.

    I have feel like i’ve looked in every corner of this forum for answers, and there are alot of topics concerning the same issue, but i have yet to find any solution… So i hope someone can point out the obvious error for me.

    Im running wordpress from mydomain.com/wordpress/ but the siteurl i mydomain.com where I use RewriteBase /wordpress/ in .htaccess which is located root folder of the server outside the wordpress install. So the url for site 1 is mydomain.com and site 2 is mydomain.com/two

    the url for network admin w/ redirect loop accouring looks like this:
    mydomain.com/wordpress/wp-admin/network/

    I have a feeling it has something to do with my .htaccess and wp-config.php to do, but not sure at all. my database seems to correspond with my wp-config.php

    wp-config.php looks like this:

    define ('WPLANG', 'en_US');
    
    define ('FS_METHOD', 'direct');
    
    define('WP_DEBUG', false);
    
    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'mydomain.com');
    define('PATH_CURRENT_SITE', '/wordpress/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    
    //--- disable auto upgrade
    define( 'AUTOMATIC_UPDATER_DISABLED', true );

    .htaccess looks like this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

The topic ‘Cannot update network due to network admin redirect loop’ is closed to new replies.