404 Error in Subfolder Multi Site
-
Hey there,
I’ve got an issue with the Network feature on 4.8. The issue is similar to this one, where load-scripts.php and load-styles.php are pointing to a 404. The only difference is that I’ve done a subfolder installation.
Here is the website:
https://dealwithgrowth.com/fr/Homepage looks good but the issue is on the admin side. Styles + scrips are not loaded and I’ve got a 404 error when I click on a link. This websites does not have any plugins
I’ve followed the official documentation and already done an installation for one of my websites – without encountering any issue (it was done at the beginning of the year with an older version of WP).
Those 2 websites (the one that works and the one that doesnt) are hosted on the same server. DNS are on Cloudflare for the one that works. It was not the case when I enabled the network feature.
The bottom of my wp-config file is:
/* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'dealwithgrowth.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); /* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php');
And here is my htaccess file:
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]
I’ve done a truckload of re-installation, tried with the database from the one that works, but it does not seem to work.
- The topic ‘404 Error in Subfolder Multi Site’ is closed to new replies.