Easy ways to bulk edit URLs in WordPress
6
Bulk edit URLs within WordPress posts http://www.kristarella.com @kristarella
-
Upload
wordpress-sydney-user-group -
Category
Technology
-
view
305 -
download
2
Transcript of Easy ways to bulk edit URLs in WordPress
Bulk edit URLswithin WordPress posts
http://www.kristarella.com @kristarella
Why?
• Move from one domain to another
• Move WP from directory to root
• or vice versa
• Rename WordPress directory
Backupphoto by leg0fenris
via phpMyAdmin or a database client
SQL Query
UPDATE wp_posts SET post_content = REPLACE (post_content,'Item to replace here','Replacement text here');
I originally saw this code on lorelle.wordpress.com
I ♥ Sequel Pro
Or a plugin!
Options to change•post & page content•excerpts•attachments•custom fields•all GUIDs
Questions?@kristarella