Subdirectory Multisite Network 500/404 errors and redirect loops
-
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.
- The topic ‘Subdirectory Multisite Network 500/404 errors and redirect loops’ is closed to new replies.