Instantly share code, notes, and snippets.

What would you like to do?
wordpress https updates
.htaccess file will need the following:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
run this sql:
UPDATE wp_posts SET `post_content` = REPLACE (`post_content`, 'src="', 'src="');
UPDATE digitalbureau_com.wp_posts SET `guid` = REPLACE (`guid`, '', '') WHERE post_type = 'attachment';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment