Image URLS after upgrade
-
I’ve done a fresh multisite WP 3.0 install, updated all the .htaccess etc. Then I did an export from a WPMU 2.9.2 site into 3.0. During import I told it to go off and also download/upload all the images and attachments too, which it duly did.
However, all the actual img src links in the imported posts are all obviously referring to the old WPMU 2.9.2 URL structure of
https://domainname.com/wp-content/uploads/2010/06/nameofimage.jpg
rather than the new WP 3.0 URL’shttps://domainname.com/files/2010/06/nameofimage.jpg
And I can’t think of a way of amending the .htaccess file (for instance) to rewrite these legacy links to the new URL structure – coz I’ve already got
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
in the new .htaccess file.Any ideas or am I missing something very obvious?
- The topic ‘Image URLS after upgrade’ is closed to new replies.