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.


<link rel='stylesheet' id='some-id'  href='' type='text/css' media='all' />
<script type='text/javascript' src=''></script>
<a href="" title="Some Title" rel="home">Some Link</a>
<img src="" alt="Some Alt" width="150" height="50" />


<link rel='stylesheet' id='some-id'  href='//' type='text/css' media='all' />
<script type='text/javascript' src='//'></script>
<a href="//" title="Some Title" rel="home">Some Link</a>
<img src="//" alt="Some Alt" width="150" height="50" />

Apply to internal links only

Additionally, there is an option (under the General settings) to apply changes to internal links only.

Contribute on GitHub

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



Leave a Reply

7 + هفت =