這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Https Switcher

描述

This very simple plugin aims at avoiding mixed content when using https for wordpress sites.

Principle

When you are using HTTPS for browsing, all content resources will point to https. All ‘http’ references will be changed to ‘https’.

On the contrary, if you want HTTP browsing, all references will be changed to ‘http’, which can be useful if you are behind a proxy that filters https.

安裝

Installation complexity is minimal :

  1. Upload https-switch.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s all, folks.

評價

2016年10月4日 1 reply
Thanks @janiko for creating this great plugin! It works fantastic on my sites and even your source code looks amazing. Well done!
2016年9月27日 2 replies
Works fine but it conflicted with the XML sitemap generation of Yoast SEO. Yoast’s XML was generating an extra blank line which caused an error in the browser, and it turns out that this plugin was the cause. In order to fix this, I edited the https-switcher/https-switcher.php file of this plugin and removed the last 2 blank lines after the closing php tag (?>). Please update your code by removing the blank lines at the end of the file. Thank you.
閱讀全部3個評價

貢獻者及開發者

“Https Switcher” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Https Switcher 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1

  • Initial version.

0.2

  • Some filters added

0.3

  • Remove unwanted spaces