Title: Https , loads  images , javascript etc. in http
Last modified: August 22, 2016

---

# Https , loads images , javascript etc. in http

 *  [D4K](https://wordpress.org/support/users/d4k/)
 * (@d4k)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/)
 * Hello
 * I have a WordPress blog , when i use https protocol , it loads the page as https
   but some content of the theme and images are loaded in http (without ssl)
 * I’m using an nginx and apache server
 * where is the problem , is it from nginx , or WordPress ?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/#post-5400574)
 * > where is the problem , is it from nginx , or WordPress ?
 * Yes. To all of the above. 😉
 * WordPress 4.0 is more SSL friendly but themes and plugins may not be. When you
   have an https WordPress installation but the themes and plugins reference `http:`
   explicitly then you get those problems.
 * One way I have found in apache2 is to install `mod_substitute` and modify the
   HTML from `http://` to `//` (less the protocol identifier). On my installation
   that worked but you have to be careful to only change the right portions.
 * Or try using an HTTPS plugin, that may be easier for you to do. 😉
 *  Thread Starter [D4K](https://wordpress.org/support/users/d4k/)
 * (@d4k)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/#post-5400600)
 * I’ve tried some https plugin , nothing works perfectly
    If there is a recommended
   plugin , please let me know . Is there a solution from nginx side ?
 *  Thread Starter [D4K](https://wordpress.org/support/users/d4k/)
 * (@d4k)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/#post-5400777)
 * It turns that the problem caused by using the reverse proxy Nginx + Apache
    Solution
   not found till now .
 *  [Pat Victor](https://wordpress.org/support/users/instovo/)
 * (@instovo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/#post-5400778)
 * Can you link to your website? Chance are “[http://&#8221](http://&#8221); is 
   hardcoded into your theme and/or plugin(s). Similar to mod_substitute you can
   also use [http://nginx.org/en/docs/http/ngx_http_sub_module.html](http://nginx.org/en/docs/http/ngx_http_sub_module.html)
   on the nginx level for faster performance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Https , loads images , javascript etc. in http’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [nginx](https://wordpress.org/support/topic-tag/nginx/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Pat Victor](https://wordpress.org/support/users/instovo/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/https-loads-images-javascript-etc-in-http/#post-5400778)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
