plugin-icon

Remove HTTP: Fix Mixed Content Warning

Исправляет все предупреждения о смешанном содержании. Удаляет протоколы HTTP и HTTPS из всех ссылок на внешнем и внутреннем интерфейсе.
Рейтинги
4.6
Последние изменения
April 7, 2020
Версия
2.2.0
Активные установки
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.

Активные установки
4K
Проверено на
5.4.16
Этот плагин можно скачать и использовать при автономной установке WordPress.