MySQL query to updates URLs in DIVI shortcodes

My client’s website has moved from http to https, and I have updated most of the URLs using queries in phpMyAdmin, but I have been unable to update short code URLs that are inserted using DIVI. I have used the following query to replace the URLs in post_content, but it has no effect on the DIVI short code URLs. Any tips for updating short code inserted URLs? Cheers.

UPDATE `wp_posts`
SET post_content = REPLACE(post_content, ‘src=”http://example.com’, ‘src=”https://example.com’)
WHERE post_content
LIKE ‘%src=”http://example.com%’;

Read more here:: MySQL query to updates URLs in DIVI shortcodes

Leave a Reply

Your email address will not be published. Required fields are marked *