Posted By

jhonqwerty on 10/15/10


Tagged

wordpress postcontent


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

virendrakryadav
hkamci


Wordpress SQL Replace


 / Published in: MySQL
 

URL: http://lorelle.wordpress.com/2005/12/01/search-and-replace-in-wordpress-mysql-database/

Execute this script to replace old links inside the content of Wordpress posts.

  1. UPDATE wp_posts SET post_content = REPLACE (
  2. post_content,
  3. 'Item to replace here',
  4. 'Replacement text here');

Report this snippet  

You need to login to post a comment.