Multisite image upload/link problem
-
Hi,
I installed 3.2.1 as a multisite with sub domains a week or so ago at heartofthe.net. All seemed to work okay ie I had sorted out wildcard domains etc..
But, on messing about with a sub blog paul.heartofthe.net I appear to be having image upload and display problems.
When I upload an image eg from within a new blog post, the image gets uploaded correctly to (it is blog number 4) wp-content/blogs.dir/4/files but the URL inserted into the post by WordPress doesnt work and therefore the image isnt displayed.
So, the image exists at:
https://heartofthe.net/wp-content/blogs.dir/4/files/2011/08/toxel.jpg
But should also be found by multisite via:
https://paul.heartofthe.net/files/2011/08/toxel.jpg
I have read Image upload problems for multisite subdomain site which is essentially the same problem from what I can see.
Based on this previous thread, I have confirmed with my web host that AllowOverride is set to ALL and my .htaccess looks okay too. It’s exactly the same as the .htaccess specified inside the Admin dashboard under Network Setup:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]
Any ideas where I might be going wrong…?
Any help much appreciated.
- The topic ‘Multisite image upload/link problem’ is closed to new replies.