Return to Snippet

Revision: 33958
at October 15, 2010 05:10 by jhonqwerty


Initial Code
UPDATE wp_posts SET post_content = REPLACE (
post_content,
'Item to replace here',
'Replacement text here');

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

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

Initial Title
Wordpress SQL Replace

Initial Tags
wordpress

Initial Language
MySQL