plugin-icon

Remove HTTP: Fix Mixed Content Warning

Fixes all mixed content warnings. Removes both HTTP and HTTPS protocols from all links from the front-end and back-end.
Ratings
4.6
Last updated
April 7, 2020
Version
2.2.0
Active installations
4K
Remove HTTP: Fix Mixed Content Warning

Remove HTTP is a plugin that automatically scans and removes both http: and https: protocols from all links. This helps resolve websites that are having “mixed content warnings” which is when the website has assets (images, JavaScript, and CSS) loading both HTTP and HTTPS.

No changes to the links are made in the database. Simply install and activate the plugin and the changes will be immediate. Links that have http:// or https:// will only have //, making them protocol relative URLs. Below is a before and after example.

Before

<link rel='stylesheet' href='https://example.com/style.css' type='text/css' /> <script type='text/javascript' src='http://example.com/script.js'></script> <a href="https://example.com" title="Example">Example</a> <img src="http://example.com/image.jpg" width="150" height="50" />

After

<link rel='stylesheet' href='//example.com/style.css' type='text/css' /> <script type='text/javascript' src='//example.com/script.js'></script> <a href="//example.com" title="Example">Example</a> <img src="//example.com/image.jpg" width="150" height="50" />

Switch to Relative URLs

There is an option (under the General settings) to change internal links to relative URLs.

Contribute on GitHub

Want to help improve this plugin? Head over to our GitHub page.

Freeon Creator plan
Active installations
4K
Tested up to
5.4.15
This plugin is available for download to be used on your WordPress self-hosted installation.