Subsite images do not load after Update to WP5.8 or subsequent updates
-
I am experienced precisely the same issue as Gary Ploski at
https://www.ads-software.com/support/topic/multisite-images-dont-load-due-to-url-change/I did not notice it immediately because the site was not as busy as it used to be, but discovered it later and tried to find help but could not. I would still like to restore the site and was happy to discover other users having the same issue, with garyploski(@garyploski) describing my issue precisely in all respects.
To summarize the issue:
All the images are missing on the public subsite (main site is ssnet.org and the site in question is blogs.dir/12))
When I go into the Media Library, I see only light grey blanks. However, the images show up perfectly if I choose the “Edit” function. So they are clearly accessible, even though they do not show up on the site or in the Library. I believe this first happened after the update to WP5.8, and it did not resolve with subsequent updates, as I hoped it would.The solution for garypiloski was to add this to the .htaccess file:
# uploaded files
RewriteRule ^files/(.+)
wp-includes/ms-files.php?file=$1 [L]I tried that, but it did not work for me – perhaps because of a different setup and the fact that I do not understand .htaccess code very well.
WP is looking for images like this:
https://sabbathissues.org/files/2023/06/st-banner-e1343171659963-150×97-1.jpg
https://sabbathissues.org/files/2013/07/Slide-Fourteen.jpgClicking URLs directly leads to error message:
Access to sabbathissues.org was denied
You don’t have authorization to view this page.
HTTP ERROR 403
So I thought it might be a permissions issue for me.
The images are uploaded under
https://ssnet.org/public_html/wp-content/blogs.dir/12/files
File permissions for files folder are: 755
Same for the “year” folders
The files themselves had permissions marked as 644
Changed these to 755, but that didn’t helpPlease help!!
The page I need help with: [log in to see the link]
- The topic ‘Subsite images do not load after Update to WP5.8 or subsequent updates’ is closed to new replies.