Return to Snippet

Revision: 72410
at August 19, 2017 21:45 by catswhocode


Initial Code
UPDATE wp_posts SET post_content = replace(post_content, 'http://yoursite.com', 'https://yoursite.com' ) ;
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.yoursite.com', 'https://www.yoursite.com' ) ;

Initial URL
https://www.catswhocode.com/blog/install-https-wordpress

Initial Description
More info: https://www.catswhocode.com/blog/install-https-wordpress

Initial Title
SQL queries to change http to https in WordPress posts/pages

Initial Tags
sql, wordpress

Initial Language
SQL