CSS/JS files and Admin result 404 on subsites
-
I recently installed a new wordpress site (fresh install of wp 3.5) using the wordpress network feature.
WP is installed in a folder (“blogs”) and is configured to use subfolders for the subsites. e.g. https://auslandsjob.de/blogs/test/The site itself is showing up, but the included css & js files have an 404 e.g. https://auslandsjob.de/blogs/test/wp-includes/css/admin-bar.min.css?ver=3.5
and the admin page has a redirection error: https://auslandsjob.de/blogs/test/wp-admin/I had a look at similar forum threads, but none of the solution applies to me: Sub-sites admin not accessible and CSS not visible after MU upgrade to 3.0, Upgrade to WordPress 3.0 Shows Broken Backend And No CSS Front Page For New Site, CSS/Admin Not Showing up in Sub “Sites”
The generated .htaccess looks like this:
RewriteEngine On RewriteBase /blogs/ 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).*) mnt/<localpath>/blogs/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ mnt/<localpath>/blogs/$2 [L] RewriteRule . index.php [L]
It is placed in the ‘blogs’ folder.
I have a second .htaccess in the root, but this does not seem to affect the behaviour. I tried the following combinations:
I placed the WP .htaccess in the root (and deleted the other one) –> No change
I deleted the .htaccess in the root (with the WP .htacces in the blogs folder) –> No changeIf I delete both css files I get a 404 on calling the subsite. Therefore it seems that the .htaccess is properly recognized and is working.
Has someone any ideas? Or further things i could try?
- The topic ‘CSS/JS files and Admin result 404 on subsites’ is closed to new replies.