Images missing on multisite subsites
-
I’m migrating a multisite WP install to a new server (to hostgator).
It looks like the trouble I’m having has been fairly common, but I did not see anything that seems to help in this situation.
Basically, on the sub-sites the images do not load. I can upload an image and it goes into the correct folder and thumbnails are made, but wordpress cannot find the image to display it. I can go into the Media Library and the thumbnails and images do not show up there. If I click on an image and then click on the Edit Image button, then the picture will load, but it only shows in the Edit Media window.
I have regenerated thumbnails.
I have reset the permalink settings.
I’ve tried a few .htaccess variants.
Images do show up in the main site, but not the sub-sites (sub folder) (I checked more than one sub-site)
The direct path works…
https://icmoly.[website].com/wp-content/blogs.dir/2/files/2015/03/%5Bfile%5D.png
The link path does not…
https://icmoly.[website].com/%5Bsub-site%5D/files/2015/03/%5Bfile%5D.pngMy current (and last) .htaccess settings are:
## BEGIN Stock WordPress Multisite 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] # ### BEGIN WordPress (from https://www.ads-software.com/support/topic/fresh-install-subfolder-multisite-infinite-redirect-loop-sub-blog-login) #RewriteEngine On #RewriteBase / #RewriteRule ^index\.php$ - [L] ## uploaded ?les #RewriteRule ^([_0-9a-zA-Z-]+/)??les/(.+) wp-includes/ms-?les.php??le=$2 [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] ### End WordPress # Use PHP53 as default AddHandler application/x-httpd-php53 .php ## BEGIN custom php
Thank you,
Dana
- The topic ‘Images missing on multisite subsites’ is closed to new replies.