I’m assuming that when you did the import, you checked the box to download the media on import, right?
For those pages/posts where the images didn’t come over, do the missing images show in the media library at all (maybe blank)?
When I look at the missing images in the code, I’m seeing two relative paths:
https://domain.com/wp-content/uploads/2019/03/dairy-queen-sp-1994-1024×731.gif
https://domain.com/blog/wp-content/uploads/2019/03/dairy-queen-sp-1994-1024×731.gif
How I’d proceed depends a bit on the state of your existing media library. If all of the missing images are in the library but not showing, it’s likely that their path is incorrect or that the image didn’t physically download.
If that’s the case, you should be able to download the uploads files via FTP and copy them to the appropriate directory.
I’m also quite fond of the Better Search Replace plugin which will allow you to search and replace URLs to correct them.
For example, if you have a missing image with a url like:
https://domain.com/blog/wp-content/uploads/2019/03/image-name.gif
You could use that plugin to find the above URL and replace with the correct URL:
https://domain.com/wp-content/uploads/2019/03/image-name.gif
If your images don’t appear in the library at all, you’ll want to try something else. One approach would be to use a plugin like Add From Server that will pull in images from a folder and register them in the media library.
Note: this last approach will likely result in different URLs then the URLs that are already in the content so you might still need to search and replace.
I hope that helps!
]]>However, as you mentioned, we still have the two different image paths:
one: https://www.username.net/blog/wp-content/uploads/
and the other: https://www.username.net/wp-content/uploads/
I have done multiple search/replace actions from Better Search Replace and also Search Replace plugins. I ask them to search for the first portion of path listed above (using the real url reference name) and then to replace it with the second listed above. Neither plugin seems to be making the replacement, although I’m likely doing something wrong.
]]>So, can you share with me the steps to export the media from site #1 so I can upload to site #2. I’m familiar with FTP a little bit, I don’t use it often so it’s always a learning curve again. Both sites are on GoDaddy and I can get to the FTP thru there. Just don’t know where to look or how to do it successfully.
Any hep is appreciated.
]]>