SSL Insecure Content Fixer

Sharraxaad

Clean up your WordPress website’s HTTPS insecure content and mixed content warnings. Installing the SSL Insecure Content Fixer plugin will solve most insecure content warnings with little or no effort. The remainder can be diagnosed with a few simple tools.

When you install SSL Insecure Content Fixer, its default settings are activated and it will automatically perform some basic fixes on your website using the Simple fix level. You can select more comprehensive fix levels as needed by your website.

WordPress Multisite gets a network settings page. This can be used to set default settings for all sites within a network, so that network administrators only need to specify settings on sites that have requirements differing from the network defaults.

See the SSL Insecure Content Fixer website for more details.

Translations

Many thanks to the generous efforts of our translators:

If you’d like to help out by translating this plugin, please sign up for an account and dig in.

Privacy

SSL Insecure Content Fixer does not collect any personally identifying information, and does not set any cookies.

Rakibaad

  1. 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.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

If your browser still reports insecure/mixed content, have a read of the Cleaning Up page.

SBI

How do I tell what is causing the insecure content / mixed content warnings?

Look in your web browser’s error console.

NB: after you open your browser’s console, refresh your page so that it tries to load the insecure content again and logs warnings to the error console.

Why No Padlock? has a really good online test tool for diagnosing HTTPS problems.

I get “insecure content” warnings from some of my content

You are probably loading content (such as images) with a URL that starts with “http:”. Take that bit away, but leave the slashes, e.g. //www.example.com/image.png; your browser will load the content, using HTTPS when your page uses it. Better still, replace “http:” with “https:” so that it always uses https to load images, e.g. https://www.example.com/image.png.

If your page can be used outside a web browser, e.g. in emails or other non-web documents, then you should always use a protocol and it should probably be “https:” (since you have an SSL certificate). See Cleaning up content for more details.

My website is behind a load balancer or reverse proxy

If your website is behind a load balancer or other reverse proxy, and WordPress doesn’t know when HTTPS is being used, you will need to select the appropriate HTTPS detection settings. See my blog post, WordPress is_ssl() doesn’t work behind some load balancers, for some details.

I get warnings about basic WordPress scripts like jquery.js

You are probably behind a reverse proxy — see the FAQ above about load balancers / reverse proxies, and run the SSL Tests from the WordPress admin Tools menu.

I changed the HTTPS Detection settings and now I can’t login

You probably have a conflict with another plugin that is also trying to fix HTTPS detection. Add this line to your wp-config.php file, above the lines about ABSPATH. You can then change this plugin back to default settings before proceeding.

define('SSLFIX_PLUGIN_NO_HTTPS_DETECT', true);

I still get “insecure content” warnings on my secure page

Post about it to the support forum, and be sure to include a link to the page. Posts without working links will probably be ignored.

You listed my plugin, but I’ve fixed it

Great! Tell me which plugin is yours and how to check for your new version, and I’ll drop the “fix” from my next release.

Dibu-eegisyo

23 Abriil, 2024
Thumbs up for minimalism, simplicity, following best practices. It is lighweight plugin that simply works. It is not only plugin but actually a role model for other wp developers, how a wordpress plugin should looks like. No excessive colorful menu icons screaming “watch another plugin” but simple sub item under settings. No ads, nicely processed solution to a problem. It is not that common see such properly developed plugin. All developers should be adding value to WP by adding functionality while keeping is simple like this guy(s), clean, easy to use. Not like most of developers, who are changing WordPress into one huge complicated aggregator of ads and confusing sections or buttons. Great job.
7 Janaayo, 2023
After since I upgraded my website to cloudflare ssl, i use tons of other plugins even tried to manually change http links to https , and in process i wasted whole day not to mention, website broke many times during this processEventually I found out this plugin when searching for “mixed content error fix in wordpress” and plugin was so intelligent it give me option for cloudflare ssl fix and now site is loading perfectly. Just one radiobox option provided here saved 17+hours work! Its like developers are heaven sent! Great Job guys welldone!!!
4 Oktoobar, 2022
I was trying to solve mixed content from last 3 days, And when I used this plugin in few clicks problem solved. Loved it.
Akhri dhammaan 218 dibu-eegis

Ka-qaybgalayaasha & Horumariyayaasha

“SSL Insecure Content Fixer” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

“SSL Insecure Content Fixer” waxaa lagu tarjumay 18 luqadood. Way ku mahadsan yihiin turjumaannada ka-qaybqaadashadooda.

Ku tarjun “SSL Insecure Content Fixer” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.

Isbeddellada

The full changelog can be found on GitHub. Recent entries:

2.7.2

Released 2018-12-04

  • fixed: some hard-coded link elements (e.g. stylesheets) when href is the first attribute