このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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.

インストール

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Let it settle in for a minute and be amazed.

FAQ

Installation Instructions
  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Let it settle in for a minute and be amazed.
What is mixed content?

According to Google:

Mixed content occurs when initial HTML is loaded over a secure HTTPS connection, but other resources (such as images, videos, stylesheets, scripts) are loaded over an insecure HTTP connection. This is called mixed content because both HTTP and HTTPS content are being loaded to display the same page, and the initial request was secure over HTTPS. Modern browsers display warnings about this type of content to indicate to the user that this page contains insecure resources.

In short, mixed content degrades the security and user experience of your HTTPS site.

評価

2018年4月17日
This really worked for me! Thanks a lot! Now I wonder if I dare to disable the wordpress-https plugin, or not...
2018年4月4日
Seemed to work perfectly as http and https were actually striped site wide not only on the front end but surprisingly in even on the back. Database links all seem ok once deactivated which is a good thing. Had to deactivate as it caused some links to source articles from no longer working which is a bad thing. Suggestions: - Whitelist as someone mentioned would be great. - Also an option to maybe do images only for anyone using external images sources - Option to not change links on backend (admin)
2017年10月22日
Shame this plugin doesn't have a 5* rating due to a few 1* reviews which aren't helpful/fair. Worked as intended, and saved me a bunch of time. Thank-you!
19件のレビューをすべて表示

貢献者と開発者

Remove HTTP: Fix Mixed Content Warning はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Remove HTTP: Fix Mixed Content Warning” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.1.1

2017-09-09

  • Added support for relative domain paths

2.1.0

2017-04-09

  • Restored option to ignore external links

2.0.0

2017-03-28

  • Feature: Switch between protocol-relative or relative URLs
  • Ignore <link> tags with rel="canonical" because they must be absolute URLs
  • Fix: Links in “style” tags weren’t affected

1.1.1

2017-01-16

  • Minor code improvements

1.1.0

2016-10-25

  • Feature: Option to remove protocols from internal links only (see General > Protocol Relative URL)
  • Added uninstall to delete custom plugin options
  • Improved regex to find all protocols
  • Simplified and removed redundant code

1.0.2

2016-10-24

  • Function will run once WordPress, all plugins, and the theme are fully loaded
  • Reverted back to original regex from v1.0.0
  • Upgrade notice shown when update is available
  • Fix: Conflict with Visual Composer plugin
  • Fix: YouTube videos in Revolution Slider plugin stopped playing

1.0.1

2016-10-10

  • Improved regex to find all protocols
  • Comments added for code explanation

1.0.0

2016-09-05

  • Initial release, huzzah!