• Hi

    images are no more showing up after upgrading to WP4.1 in the sub-sites inside a multisite.
    The images from the main website are showing up but not the ones from the sub-sites.

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

    (@ipstenu)

    ?????? Advisor and Activist

    What’s in your .htaccess?

    What is the actual URL of the images on your subsites? Does it match where the images are on your server?

    Hi

    I’m having the same problem. I have .htaccess file exactly as on Network Setup page. All sub-site images just show “404 — File not found.” message and they are also not visible in their respective sub-site dashboard media section. These images can still be accessed with url https://www.domainname.com/wp-content/uploads/sites/sitenumber/year/month/filename.jpg but not as https://www.domainame.com/sub-site/files/year/month/filename.jpg

    This was working in WordPress Multisite 4 but after not with 4.1
    I have setup sub-sites as foldername and not as subdomain.

    Thanks in advance.

    I have the same Problem on Multisite since update from 4.0 to 4.1.
    I have subdomains. Images are not accessible in Media-Section at backend or on frontend.

    They are accessible via
    https://sub.domain.tld/wp-includes/ms-files.php?file=Filename.jpg

    htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    </IfModule>
    # END WordPress

    https://www.domain.tld/wp-admin/network/site-settings.php?id=5
    Permalink structure: /%year%/%monthnum%/%postname%/
    Upload Path: wp-content/blogs.dir/5/files
    Fileupload Url: https://sub.domain.tld/files
    Upload Url Path: is empty

    Changing the permalink structure and press “save” was also not helpful.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Quick test. Roll back and reinstall the 4.0.1 files on top of your 4.1 ones.

    I would be glad if I made a backup before ??

    My issue is resolved, but via a long route. Somehow the publishing dates of many sub-site blog posts and pages had all changed to different months/years and the associated media IDs no longer worked. Even after manually uploading the media files to folders named with new year/month style it did not work. Later I had to manually change/upload all media files and associate them with blog posts, featured image and other post types. Phew!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I would be glad if I made a backup before ??

    Just to point out something…. You can ROLL BACK WordPress without needing your backup.

    Literally: Download the 4.0.1 code, delete wp-admin and wp-includes from your server, upload the files from 4.0.1

    Done.

    Somehow the publishing dates of many sub-site blog posts and pages had all changed to different months/years and the associated media IDs no longer worked.

    The … what now? That shouldn’t impact your images since they’re hardcoded in. What did they change from and to?

    Something strange happened. The images no longer worked that were uploaded through html editor. WordPress’ image path rewriting also did not show any images (foldername/files/…).

    The posts publishing dates probably got changed when I imported XML data of few readymade themes I had installed. I tried few things but only thing worked was when I manually re-inserted images through media uploader. Since there were only 8 sub-sites I decided to go the long way.

    Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The posts publishing dates probably got changed when I imported XML data of few readymade themes I had installed.

    Doesn’t work that way. Imported content keeps the original dates.

    Quick test. Roll back and reinstall the 4.0.1 files on top of your 4.1 ones.

    No, same Problem in the sub-sites with the files of Version 4.0.1
    Any Ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    vbachem and Sapan – Lets have you two make a new post for yourselves.

    In the CHANCE that Tsun4Ever comes back, it’s going to be impossible to help him ??

    @ipstenu You mean that each of us should open a new thread for this problem?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    vbachem – Yes

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Image not showing in subsites (inside multisite) since WP4.1’ is closed to new replies.