• I have been stuck in a problem with a WordPress Multisite installation. I think I have tried everything I could find and it is still not fixed.

    Basically, the main site is working fine. It does not show any errors and there are no problems with it’s wp-admin as well.

    But the sub sites all have issues. When I open any sub-site, all the JS/CSS files are showing as 500 errors in the console. And needless to say that the layout is broken.

    Also, I can not open wp-admin for any sub-site. It give “redirected you too many times” error. I am pretty sure that it is a .htaccess error but I can’t seem to find the solution for it.

    I have added the relevant wp-config.php and .htaccess lines below.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I have the main site permalinks set to /%postname%.php. I need the .php for the already built backlinks. I know I can use 301 redirects to keep the backlinks but this is a client’s site and they don’t want any of that.

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

    I have tried replacing the wordpress core files with fresh files from the www.ads-software.com zip file and that also did not work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You didn’t provide any URLs to any of the problem sites so the only thing I can tell you is to use your web browser’s ‘inspect’ facilities if you have those and study the console output to see what might be going wrong.

    Thread Starter attiqfsd

    (@attiqfsd)

    @jnashhawkins thanks for your response. Unfortunately I can not provide the url to the site because it’s a client’s site which is live.

    You recommended using the browsers inspect option. What exactly should I be looking for?

    In the subsites, I see all the files showing as 500 error.

    How about a screencap of one of the sites showing the 500 error? I might see something there.

    What I’m looking for is something that will tell me what is broke and what might be working properly so I can gauge the real problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Subdirectory Multisite Network 500/404 errors and redirect loops’ is closed to new replies.