Updated Multisite but Network Site Themes are Broken

I updated my website to 4.3.1 but all of my network sites (not may main site) are not showing correctly. Nothing but broken themes no matter what I do. Any ideas?

Romae.org

Romae.org/Amicitia

  • Luís
    • Support

    Hi @jonnylons,

    I hope had been good today!

    I need to investigate further, so can send me the FTP access?

    Please send it privately through our contact form:

    https://premium.wpmudev.org/contact/

    Select “I have a different question” for your topic – this and the subject line ensure that it gets assigned to me.

    Send in:

    Subject: “Attn: Luís Lopes”

    – WordPress admin username

    – WordPress admin password

    – Login url

    – FTP credentials (host/username/password)

    – Link back to this thread for reference

    – Any other relevant urls

    **If you keep support access active then no need to send in wp-admin

    Cheers, Luís

  • jonnylons
    • Flash Drive

    Hey Luis!

    It looks like the sites are there. But the media files (images, attachments, etc.) are not showing up. Instead, when I go into the media library, I am getting a little blue square with a question mark. When I edit an image, it is there. For some reason the links for the files are not working? Any other ideas?

    Thanks in advance for your help!

  • Luís
    • Support

    Hi @jonnylons,

    I hope had been good today!

    I only did changes in the .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]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]

    If RicardAcademy.info is a multisite install subfolder based, try use the same example.

    Note: make a backup of the .htaccess file before you make the changes.

    I hope this information has been helpful. If I can help you in this or other questions, please let me know!

    Cheers, Luís

  • jonnylons
    • Flash Drive

    Hey Luis!

    Thank you – that did the trick! Not sure why my old .htaccess file was modded. I did ask my hosting service (GoDaddy) to see if they could fix the problem earlier in the year. Maybe they altered the file.

    Anyway, I uploaded the new .htaccess file you outlined above and it worked. Could I share this with others or will the code need to be modified to suit their particular MS install?

  • Luís
    • Support

    Hi @jonnylons,

    I hope had been good today!

    Something changed your .htaccess file, but, honestly, the rules used are a “mix”, because are composed by rules defined to WordPress Multisite 3.5 and up and for WordPress Multisite 3.4 and below.

    I know that is not correct, but in your particular case, it works.

    Of course, you can share with others members, but refers that .htaccess file is composed by:

    WordPress Multisite 3.5 and up:

    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]

    WordPress Multisite 3.4 and below:

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.