multisite subfolder install – images not displaying in subfolder sites
-
Hello – I have crawled through the other posts on this exact topic and have not been able to crack my problem.
I have wordpress 3.2.1 running, with multisite subfolders enabled. My main site and everything on it works. On my subfolder sites, when I upload images into my posts, the file goes up to the server, but wordpress can’t subsequently find them.
As an example, here is the path that WordPress gives me to a newly uploaded file that does not work:
https://chhs.sdsu.edu/testtrash/files/2011/07/clapp-sm.jpgHere is the actual path where the file uploaded to that does work:
https://chhs.sdsu.edu/wp-content/blogs.dir/6/files/2011/07/clapp-sm.jpgMy problem clearly has to do with the rewriting accomplished by the htaccess file, and other posters have resolved this same problem by fixing their .htaccess file.
My .htaccess file appears to be correct (listed below):
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).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L]
I’m at a loss – Any ideas?
- The topic ‘multisite subfolder install – images not displaying in subfolder sites’ is closed to new replies.