Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
I have just moved my site from abc.com to bcd.com. I have changed to site url to bcd.com at both Database and Genaral Settings.
That’s good.
However, those urls at ‘Pages’, such as image urls(abc.com/wp-content/themes/uploads/2012/04/xxx.jpg) is still the same.
Yep, that happens. 😉
The dynamic generation of post and pages URLs is handled by WordPress, but hard coded URLs in the content (which is normal) do not get changed dynamically.
Try this: Make a complete backup of your files and database. This step is your safety net in case a mistake is made.
http://codex.wordpress.org/WordPress_Backups
http://codex.wordpress.org/Backing_Up_Your_Database
http://codex.wordpress.org/Restoring_Your_Database_From_Backup
Store those backups somewhere safe and off of your server. If you have to, you my need to restore them.
Now install a search and replace plugin.
http://wordpress.org/extend/plugins/search.php?q=search+and+replace
This one looks OK.
http://wordpress.org/extend/plugins/find-replace/
What you want to replace is all the references in the content from http://abc.com/ to httpd://bcd.com/. Try to include the http:// to make the search and replace more specific.
See if that does it. If something unexpected happens the just restore your database backup and you’ll be back where you were before trying this.