Date post: | 13-Jul-2015 |
Category: |
Technology |
Upload: | wordpress-sydney-user-group |
View: | 310 times |
Download: | 2 times |
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