How to fix all images and links in blog? (e.g. search and replace)
-
I imported my blog from a self-hosted wordpress to wordpress.com and many of the images didn’t come over correctly. Many of the links are still pointing to the old address as well. Is there some sort of search and replace functionality that I can use to fix them? (Something with a regex would be awesome, but regular search and replace could probably do the trick as well.)
Thanks!
The blog I need help with is: (visible only to logged in users)
-
There is, unfortunately, no such function. You can try re-importing after creating a new export file and see if the images come over that way.
-
In case anyone else is looking for other options, what I ended up doing was making use of WordPress’ XML-RPC MetaWeblog API together with Python’s xmlrpclib to download, search and replace, and upload each post. But be careful because you can easily mess up your site!
(For example code look in the source of BloGTK.)
- The topic ‘How to fix all images and links in blog? (e.g. search and replace)’ is closed to new replies.