When deploying a TLS enabled website, you must ensure that all content loaded on the site is loaded from secure origin.
If your content is loaded from an insecure source, the security of your whole site is compromised and modern browsers
will downgrade your website’s security rating.
The HTTPS Mixed Content Detector plugin attempts to identify sources of mixed content warnings. The plugin will examine
content loaded from the site when admins are viewing the site. Any content that violates the policy of loading content
that originates from “https:” resources will trigger an error and that resource will be logged. Viewing the log will
allow you to examine the site for any warnings and remove them before they cause problems for your website.
This section describes how to install the plugin and get it working.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Browse your site as an admin
- View the reports listed in the “Content Security Policy Reports” page in the admin
- Delete each violation report log as you fix it
- Rinse and repeat until your site is free of violation reports
Contributors & Developers
“HTTPS Mixed Content Detector” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Add check for violation locations
- Add sampling mode for examining non-logged in traffic
- Add more content shown in the WP list table
- Add check for HTTPS domain when logging violation
unresolveWP CLI commands
- Update CSP directives to be more specific
- Remove false positives from the log
- Limit logging to work only for admins
- Initial release