Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Https Switcher

Disgrifiad

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.

Gosod

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.

Adolygiadau

Hydref 4, 2016 1 reply
Thanks @janiko for creating this great plugin! It works fantastic on my sites and even your source code looks amazing. Well done!
Medi 27, 2016 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.
Read all 3 reviews

Contributors & Developers

“Https Switcher” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “Https Switcher” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

0.1

  • Initial version.

0.2

  • Some filters added

0.3

  • Remove unwanted spaces