This very simple plugin aims at avoiding mixed content when using https for wordpress sites.
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 :
- Activate the plugin through the ‘Plugins’ menu in WordPress
That’s all, folks.
2016年10月4日 1 回复
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 回复
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.
“Https Switcher” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Initial version.
- Some filters added
- Remove unwanted spaces