SSL Insecure Content Fixer

SSL Insecure Content Fixer

Fix some common problems with insecure content on WordPress¬†using SSL. Mostly, the fixes are CSS and JavaScript links that don’t use SSL. The plugin originally used the method described in this blog post, but now uses WordPress filters where possible.

It is very lightweight, so it doesn’t impact on performance, but that also means it doesn’t catch everything. Some fixes need a bigger hammer, like the WordPress HTTPS plugin. If your problem is small, a small solution like this one might fit better.

Current fixes

  • scripts that are registered using wp_register_script() or wp_enqueue_script()
  • stylesheets that are registered using wp_register_style() or wp_enqueue_style()
  • images and other media loaded by calling wp_get_attachment_image(), wp_get_attachment_image_src(), etc.
  • data returned from wp_upload_dir() (e.g. for some CAPTCHA images)
  • the stylesheet loaded by the list-category-posts-with-pagination plugin
  • images loaded by the image-widget plugin

I’ll be adding other fixes as I find simple solutions for them. The better solution is to get errant plugins fixed by their authors, but until they do, let me know about them and I’ll attempt to add fixes.


  • Either install automatically through the WordPress admin, or download the .zip file, unzip to a folder, and upload the folder to your /wp-content/plugins/ directory. Read Installing Plugins in the WordPress Codex for details.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.