Skip to content

Instantly share code, notes, and snippets.

@stevetrask
Created December 10, 2017 13:15

Revisions

  1. Steve Trask created this gist Dec 10, 2017.
    1 change: 1 addition & 0 deletions wordpress-https-images.sql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    UPDATE wp_posts SET `post_content` = REPLACE (`post_content`, 'src="http://www.your-site.com', 'src="https://www.your-site.com');