Title: HTTPS mixed content
Last modified: October 19, 2016

---

# HTTPS mixed content

 *  [mlanglois](https://wordpress.org/support/users/mlanglois/)
 * (@mlanglois)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-mixed-content-2/)
 * Thank you for this great plugin! I works well on my WordPress install, except
   that in HTTPS there are 2 files that are still served in HTTP:
    • custom_icallist.
   css • icalprint.css
 * Can you correct the plugin so that it automatically switches between HTTP and
   HTTPS?

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

 *  Thread Starter [mlanglois](https://wordpress.org/support/users/mlanglois/)
 * (@mlanglois)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-mixed-content-2/#post-8327706)
 * Well, as a matter of fact there are many more files that are served as HTTP, 
   including PNG images: map_16.png, addtogoogle_16.png, etc. As a result, my browser
   warns me about about mixed content. I hope this can easily be fixed, other plugins
   seem to serve HTTPS automatically so there must be a way 😉
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-mixed-content-2/#post-8337415)
 * Hi,
 * well now, looking into that was good. Plugin has been around quite a long time
   and what it’s doing used to be ‘the way’. The images location url and the csslink
   don’t actually specify http or https. Their location is set by your sites WP_CONTENT_URL
   or if set WP_PLUGIN_URL.
 * However there is a kinda wp bug marked ‘won’t fix’ where those constants don’t
   do the ‘https’ [https://core.trac.wordpress.org/ticket/13941](https://core.trac.wordpress.org/ticket/13941)
 * Basically to avoid this plugins should be updated to use function calls instead
   of constants (hmm – frown).
 * There is a bit of fiddliness re the timing of using the functions [https://codex.wordpress.org/Function_Reference/plugins_url](https://codex.wordpress.org/Function_Reference/plugins_url)(
   not in the global space) in order to allow other plugins to ‘filter’ it, so it’s
   not a straight change. I might have time on the weekend to update and retest.
 * A quick fix for you now, might be to set WP_CONTENT_URL or WP_PLUGIN_URL with
   the https in your config.php and make a note to remove it later when plugin gets
   updated.
 * Thanks for flagging.

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

The topic ‘HTTPS mixed content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-ical-events-list_f5f4f4.svg)
 * [amr ical events lists](https://wordpress.org/plugins/amr-ical-events-list/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-ical-events-list/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-ical-events-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-ical-events-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-ical-events-list/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 2 replies
 * 2 participants
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/https-mixed-content-2/#post-8337415)
 * Status: not resolved