Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You need to see if AllowOverride is set to ALL (or Options All) in your httpd.conf

    Thread Starter majestixx

    (@majestixx)

    Unfortunately is my hoster not even able to tell me which value is set for allowOverride.

    Are there any alternatives?
    I assume the not working rule is the third from the bottom. This does the redirect for any files in the WP directories.

    Do you have any idea why the subsite “test” is working at all? Doesn’t that mean that the second rule from the bottom is working?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Other than ‘switch hosts’?

    No host should be unable to answer that question. The problem is that none of the advanced rules are working, and that’s really quite silly for them not to be able to tell (unless they’re saying ‘We know, but we can’t tell you’ which is a whole different batch of silly).

    Thread Starter majestixx

    (@majestixx)

    I agree ??
    But finally I found a working solution! With just rewriting the .htaccess.

    For other users with the same issue. Here is my working .htaccess:

    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).*)$ $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I changed the RewriteRules from absolute to relative paths and now it works like a charm ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS/JS files and Admin result 404 on subsites’ is closed to new replies.