After updating site to use SSL all images in posts point to http://
Installing the WordPress HTTPS plugin should take care of it.
Installing the WordPress HTTPS plugin should take care of it.
Usually, this is a problem with the Site URL or WordPress URL not being set properly. If you just copied the database, WordPress itself will try to redirect the domain back to what it thinks is the right site. You have two options: 1. Edit the Settings Use PHPMyAdmin or a similar tool to edit … Read more
try installing this WordPress plugin. http://wordpress.org/extend/plugins/wordpress-https/installation/ but do read the installation instructions as it has some extra things to do after activating the plugin.
This is a late answer but this works for me: Change the RewriteCond to this RewriteCond %{HTTP:X-Forwarded-Proto} !https Should be like this: RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]
Before I give you the CODE, let me explain a few points: Point 1: It’s better if you only allow https links. Mixing http & https for the same content breaks the security added by https. With http, you can never be sure that your visitors are shown the same page you are providing from … Read more
WordPress keeps WP_HOME and WP_SITEURL in DB, this is set during initial installation and usually is the domain of your website, in your case it is a domain with https. Your visiting site via local domain, but WordPress redirects to https live domain, causing redirect loop which obviously fails. To fix this, change WP_HOME and … Read more
It’s a fairly common issue when you update your WordPress site’s URL form HTTP to HTTPS or if you are migrating to a new domain. While a partial solution is to update your WordPress’ home and site URL in your settings: That doesn’t mean that the new URL structure in your posts will be fixed. … Read more
Since you are behind a load balancer (confirmed in your comments above), your WordPress installation won’t be able to detect SSL using the is_ssl() function, and will not serve any enqueued scripts or stylesheets with https: protocol URIs. If you are behind a load balancer that supports the HTTP_X_FORWARDED_PROTO server variable, you can fix your … Read more
The answer to this came in part from this answer, which linked to the Codex, advising the following snippet to be placed at the top of the wp-config file: if (strpos($_SERVER[‘HTTP_X_FORWARDED_PROTO’], ‘https’) !== false) $_SERVER[‘HTTPS’]=’on’; Unfortunately, this didn’t quite solve it for me, but I noticed it worked if I removed the if and just … Read more
If you link to the JS file just using something like //examplesite.com/js/jsfile.js without the http:// or https:// the browser should automatically get the correct http or https version