How to run a search and replace in Ghost DB?

Hi, I realized some localhost addres have remain in my new website. I want to get rid of them by searching and replacing the string in the db. How can I run a search and replace on ghost db?

The safest way is to modify a content export, and then re-import it :slight_smile:

You mean I need to download all posts, delete all the content, and upload the edited posts? Otherwise, there’ll be a warning of duplicated content.

Yes. If I was doing this, I would first try on a local instance to make sure everything looks good before deleting everything in a production instance