This SQL script will find and replace the oldtext
with the newtext
in your database. This is often required when changing domains, or moving from development to production environments.
In the example below:
wp_posts
= table namepost_content
= columnoldtext
= string to replacenewtext
= new string to be set