I have a wordpress site that I moved from domain.info to domain.com. Some of the older articles still reference images at domain.info. How can I script it to replace all instances of example.info with example.com? Can I do it in MySQL without having SSH access to find and replace?
http://www.example.info/wp-content/uploads/2009/09/image-239.jpg
should be
http://www.example.com/wp-content/uploads/2009/09/image-239.jpg
EDIT:
Or maybe even using .htaccess?
or somewhat slower:
See:
http://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_replace