highspeeedchase
Member
Posted 5 months ago #
Hi,
I'm having trouble importing images from my old posts from wordpress.com to my self hosted wordpress.org.
I'm using the built in export/import plugin. The posts import fine and the images show up in the post but they are still hosted on wordpress.com. How can I transfer the images to be hosted on my new server?
Unfortunately, I don't have clearance to post the url for the blog here but I'm hoping that someone can help without seeing the site itself.
A few notes:
-Yes, I know that you can check a box to download and upload attachments. It doesn't seem to transfer the images.
-I've searched other posts and the ones that relate to this issue are closed without resolution. (If there is one that isn't I'm happy to read through it.)
Thank you!
Do you have a lot of images? I've only done this a couple of times with blogger and WordPress.com and I've found that editing the image files manually is the only option.
If you're going to leave the wordPress.com site alone, I personally wouldn't be too bothered.
highspeeedchase
Member
Posted 5 months ago #
Yeah, it's a few years worth of posts, 300+ images. I've found that I can download the images with the tool below but now I just need to change the hosting url for all of the posts.
http://bulkimagedownloader.com/
I'm thinking that I might try a SQL query like this:
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://oldlink.com', 'http://newlink.com');
Haven't quite figured it out yet though. If anyone has any ideas, please let me know!