Images not showing in subsites
-
Hi all, I read lots of stuff before writing here but I found no solutions to my problem yet. It deals with images in subsites on multisites WordPress ver. 3.0.1
This is the scenario:
1- running three sites on WordPress 3.0.1 with subfolders’ system;
2- .htaccess is here:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$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]
3- wp-config.php contains:
define( 'WP_ALLOW_MULTISITE', true ); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'enriconatoli.net' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
4- The problem is:
Images in the main site are shown properly while images in the subsites load properly but they are not shown but in the “edit” mode in the upload panel, else I have to manually change the address.
This URL works:
https://www.enriconatoli.net/wp-content/blogs.dir/3/files/filename.xxx
This URL doesn’t work:
https://www.enriconatoli.net/motoperpetuo/files/filename.xxxFollowing one of Andrea’s suggestions I contacted my host provider in order to make them add ‘AllowOverrideAll’ to Apache’s httpd.conf, but I had a negative response because of “security reasons on a shared server”, this is what they say.
“Blogs.dir” folder and all its contents are set to 755 and WordPress is able to upload images in the right folders.
I hope some of you can give me a hint about what else to try in order to make subsites’ images work.
Thanks in advance,
have you all a nice nice day.Enrico
- The topic ‘Images not showing in subsites’ is closed to new replies.