I've moved my installation from example.com/beta
to example.com
and I've noticed that there are a few broken images. Looking at the source, it appears that they are still looking in looking in the /beta
directory for the images.. How can I fix this?
The pics which are broken seem to be the ones uploaded from within the page/post editor.
(Note:I exported the database to a file and there were many instances of example.com/beta in it .. I wonder if I can find-replace to get rid of the beta and then import the db..?)
EDIT
In the end, I went into each post, and edited each broken image (Edit Image > Advanced Settings) to take out the beta/
before wp-content. I was too scared to edit the exported sql and re-import it. If it happens in the future I would just re-create the /beta/wp-contents/uploads
with the contents of /wp-contents/uploads
until I found the patience to go thru and change each image paths.