UPDATE wp_options SET option_value = replace(option_value, 'http://' , 'https://' ); UPDATE wp_posts SET post_content = replace(post_content, 'http://' , 'https://'); UPDATE wp_comments SET comment_content = replace(comment_content, 'http://' , 'https://' ); UPDATE wp_comments SET comment_author_url = replace(comment_author_url, 'http://' , 'https://'); UPDATE wp_users SET user_url = replace(user_url, 'http://' , 'https://');