Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UPDATE wp_options SET option_value = REPLACE(option_value, 'http://oldurl', 'https://newurl') WHERE option_name = 'home' OR option_name = 'siteurl';
- UPDATE wp_posts SET guid = REPLACE(guid, 'http://oldurl','https://newurl');
- UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://oldurl', 'https://newurl');
- UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,'http://oldurl','https://newurl');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement