Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I recently upgrade my site to use SSL through a reverse proxy. I have changed the WordPress address and site address in the Settings menu and the main page loads just fine: https://www.scotthelme.co.uk

If you click through to one of my posts however you get mixed content warnings on the SSL certificate: https://www.scotthelme.co.uk/wifi-pineapple-karma-sslstrip/

I see the images on the page are still pointing to the http:// URL they were added with but I would have thought that my redirect would force them to be served over https://, this doesn't seem to be the case. Either way I'm happy to rewrite them to protocol relative URLs, I'm just not sure on the best way. How is it best to go about changing the URLs for the images in posts?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Installing the WordPress HTTPS plugin should take care of it.

share|improve this answer
    
I assume it shouldn't have any adverse affects on the rest of the site? I was wondering if there was just a SQL query or some other method without depending on a plugin. –  Scott Helme Sep 22 '13 at 21:16
    
I'd also rather see the core adapt this, but as long as it doesn't, the plugin is the best solution. And it is dependable, well written and usually adapted to a new WP quickly after a release. –  Johannes Pille Sep 22 '13 at 21:25
    
It seems to be up and running without a problem, thanks for the tip. –  Scott Helme Sep 22 '13 at 21:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.