Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple version of MySQL find and replace for WOrdPress database migration.
# Update wp_options table
UPDATE wp_options SET option_value = REPLACE(option_value,'','');
# Update wp_posts table
UPDATE wp_posts SET guid = REPLACE(guid,'','');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.