Recently I have deployed 2 sites from my local development area to the live site and ran into some issues when importing the posts. The reference link for attachments still points to my localhost for some of the attachments. I would like to remove the development sites but removing them will pull down the reference to some of the live attachments.
I was curious if anyone knows best practice for resolving this issue. I know all the attachments are on the live server just the reference is missing. I used custom fields with full paths for most these posts.
I have an idea of just editing the db directly to remove the reference to the files.
Thanks in advance for all help,