Media/images do not display in posts after upgrade
-
after upgrading from WPMU to WP 3 (now using 3.1), images in previously published posts do not appear in the published site. A look on the server reveals that an image is located here:
https://embeddedgurus.com/wp-content/blogs.dir/7/files/2011/02/view-transcript.png
and the post has the path as:
https://embeddedgurus.com/state-space/files/2011/02/view-transcript.pngbut neither path brings up the image in a browser.
I’m suspecting a fix related to the .htaccess file or perhaps something happened in the upgrade that broke the path to images.
I tried uploading new images with the media uploader, but these also do not display at all upon publication.
Attempted Workaround: I removed this code from the .htaccess file
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]And now at least I can manually update image URLs in posts, but going back through all posts to update this is laborious. Also, it doesn’t solve the problem that an uploaded image has the wrong path upon insertion using the WYSIWYG editor.
- The topic ‘Media/images do not display in posts after upgrade’ is closed to new replies.