• Resolved afropunk

    (@afropunk)


    I added Multisite to my current WordPress install as a sub-directory

    I followed the correct procedures and added the code to my wp-config and .htaccess files.

    When I try to access the dashboard of the newly created site from the Network Admin -> Sites . I get the “This web page has a redirect loop” error. If I try visit, it goes to the site but with a blank template layout.

    My wp-config settings are as follows:

    define( 'WP_ALLOW_MULTISITE', true );
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'www.mywebsite.co.uk');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    
    define( 'AUTH_SALT', 'sCn)d[:x0k),nyExWvMH3(WHq,R;OiAaB,4XN@f?<5i=2iK$,de],+d+5&4)))VA' );
    define( 'SECURE_AUTH_SALT', 'Jz-CX-WkVL+Q~r*Xk/j3P&k#^,cwFNCD4fw770|rGni!<code>Z</code><)|!e+Y+a86%{cW6e' );
    define( 'LOGGED_IN_SALT', 'xGMv$^6J9Yu/K;QqM@9<Ng0ym]l}FD:$<w>.V{Y:*<-k2BgI|M]lNu5+~w&0?7ex' );
    define( 'NONCE_SALT', '-QW:yLNl>H<fuBetQ#E;45s]n{xjTwfCqcKT-3Q$|ykAis8kYgXcu9u(hP-r$VK!' );

    My .htaccess settings as follows:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Any help is much appreciated.

    Thanks

    Liam

  • The topic ‘Multisite – This web page has a redirect loop error’ is closed to new replies.