Changing wp-content from http to https
-
Hi all,
I had some problems yesterday sorting out the security of my website and enabling access through various web filters. This has now mostly been resolved.
I still though have some problems with mixed content on the site and I can’t find a way to resolve. TL, DR of the below, I need to change the URL’s of the wp-content of images I’ve uploaded from http to https but can’t do it. Does anyone have any ideas?
I’m getting the following error message on each page (different urls for the image):
Mixed Content: The page at ‘https://elyinsights.com/’ was loaded over HTTPS, but requested an insecure image ‘https://elyinsights.com/wp-content/uploads/2018/02/DUBLIN20180212182514-2.jpg’. This content should also be served over HTTPS.
I can’t seem to find a way to change the URL of the image on the site from http to https. I’ve installed the following plugins but none of them resolve the problem:
Better Search Replace
HTTP Headers
Really Simple SSL
SSL Insecure Content Fixer
Wordpress HTTPSI’ve pasted the following into the wp-config file
/** Http Headers – Setup by E Lyons. */
define(‘FORCE_SSL_ADMIN’, true);
define(‘WP_HOME’,’https://elyinsights.com’);
define(‘WP_SITEURL’,’https://elyinsights.com’);and this into the .htaccess file:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.elyinsights.com/$1 [R,L]
Header set Strict-Transport-Security “max-age=31536000” env=HTTPSThe page I need help with: [log in to see the link]
- The topic ‘Changing wp-content from http to https’ is closed to new replies.