• Resolved ozfarman

    (@ozfarman)


    Hi there.

    I have a multisite folder install setup, and I’m getting the following errors only when accessing a subsite. My admin panel, and main site work just fine.

    [error] [client 170.200.144.6] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer..

    My site is setup in the document root, which is a vhost. I am not running WP out of it’s own folder.

    My wp-config looks like this (changed the url because we haven’t launched yet, but it is NOT using www as a prefix.

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'mysite.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    /* That's all, stop editing! Happy blogging. */

    My .htaccess looks like:

    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]

    Can anyone help? I’ve searched through the forums and everything here looks like it ought be working correctly.

Viewing 1 replies (of 1 total)
  • Thread Starter ozfarman

    (@ozfarman)

    Ha. Figured it out. Had some files in the theme for the subsite that were 404’s but copies of files at the root install, and apache was redirecting internally to find them.

Viewing 1 replies (of 1 total)

The topic ‘Fresh multisite folder Install causing redirects’ is closed to new replies.