Wordpress SQL Replace


/ Published in: MySQL
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. UPDATE wp_posts SET post_content = REPLACE (
  2. post_content,
  3. 'Item to replace here',
  4. 'Replacement text here');

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.