WordPress multisite broken after network update?


I installed a multisite local. the subpages should load in the same style as the main page. I could choose the theme. After I updated the network, I can no longer get to the dashboard or when I call up the wp-admin, the error 404 appears. The theme is loaded, but the styles and javascript itself are no longer loaded. I saw that he also tried to load the files from the subdomain using the path in the attachment. However, it doesn’t exist because it has to lead to the parent page. Example /en/wp-content/themes/test/js/jquery_v3.js?ver=6.1.1 – but it must be /wp-content/themes/test/js/jquery_v3.js?ver=6.1.1.

Another example in the console. The file is accessed there, but it does not exist there.

enter image description here

.htaccess file

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
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]

Was the multisite destroyed by updating the network or can this be fixed with a setting? Unfortunately I can’t find the error. Do you perhaps recognize the problem?

knefie 2 months 2022-12-14T09:19:15-05:00 0 Answers 0 views 0

Leave an answer