Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # UPDATE options, but NOT those containing serialized arrays
- UPDATE wp_options SET option_value = REPLACE(option_value,'http://localhost/example','http://www.example.org') WHERE option_value NOT LIKE '%{%';
- UPDATE wp_posts SET guid = REPLACE(guid,'http://localhost/example','http://www.example.org');
- UPDATE wp_posts SET post_content = REPLACE(post_content,'http://localhost/example','http://www.example.org');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement