Jetpack Photon over HTTPS

One of the coolest features of Jetpack is Photon, a free CDN of sorts that hosts your site’s images from the servers. While there’s lots of debate on whether Photon can be a help or a hindrance from a speed and SEO perspective, if you want to use it over an HTTPS connection you’re currently out of luck.

The solution though is quite simple. By adding add_filter( ‘jetpack_photon_reject_https’, ‘__return_false’ );  to your theme’s functions.php  file, Jetpack will now download and feed all of your images over a secure connection. This should help in clearing out any mixed content errors at the very least.

Unfortunately, you may quickly discover that this is a very inconvenient method of doing things as you may need to redo the tweak every time your theme receives an update. Instead, we’ve created a very tiny plugin to accomplish this.


  1. Download the plugin
  2. On your site, go to plugins -> add new
  3. Select “Upload Plugin” towards the top, select the file and hit “Install Now”
  4. Activate the plugin
  5. Done!

That’s it. Now your site can use Jetpack Photon over HTTPS and it’s theme update-proof.