Title: Https Switcher
Author: janiko
Published: <strong>27 de Maio, 2015</strong>
Last modified: 2 de Outubro, 2016

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/https-switcher.svg)

# Https Switcher

 Por [janiko](https://profiles.wordpress.org/janiko/)

[Descargar](https://downloads.wordpress.org/plugin/https-switcher.zip)

 * [Detalles](https://gl.wordpress.org/plugins/https-switcher/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/https-switcher/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/https-switcher/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/https-switcher/#developers)

 [Soporte](https://wordpress.org/support/plugin/https-switcher/)

## Descrición

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.

## Instalación

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.

## Comentarios

![](https://secure.gravatar.com/avatar/0894ec0d7e5d70306a16431b36249b1928cad88a572de9b5211a54d75ad5d77a?
s=60&d=retro&r=g)

### 󠀁[Simple and yet powerful!](https://wordpress.org/support/topic/simple-and-powerful-26/)󠁿

 [Niels Lange](https://profiles.wordpress.org/nielslange/) 4 de Outubro, 2016 1 
resposta

Thanks @janiko for creating this great plugin! It works fantastic on my sites and
even your source code looks amazing. Well done!

![](https://secure.gravatar.com/avatar/dcb5982ba504a7d271fc285d9fa043c29532a81903091d480e605ae06c23b950?
s=60&d=retro&r=g)

### 󠀁[Https Switcher conflicted with Yoast’s sitemap generator](https://wordpress.org/support/topic/https-switcher-conflicted-with-yoasts-sitemap-generator/)󠁿

 [drbill02](https://profiles.wordpress.org/drbill02/) 27 de Setembro, 2016 2 respostas

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.

 [ Ler todas as 3 opinións ](https://wordpress.org/support/plugin/https-switcher/reviews/)

## Colaboradores e desenvolvedores

“Https Switcher” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

[Traduce “Https Switcher” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/https-switcher)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/https-switcher/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/https-switcher/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/https-switcher/)
por [RSS](https://plugins.trac.wordpress.org/log/https-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 0.1

 * Initial version.

#### 0.2

 * Some filters added

#### 0.3

 * Remove unwanted spaces

## Meta

 *  Versión **0.3**
 *  Última actualización **Fai 10 anos**
 *  Instalacións activas **60+**
 *  Versión de WordPress ** 3.0.1 ou superior **
 *  Probado ata **4.6.30**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/https-switcher/)
 * Etiquetas
 * [http](https://gl.wordpress.org/plugins/tags/http/)[https](https://gl.wordpress.org/plugins/tags/https/)
   [mixed content](https://gl.wordpress.org/plugins/tags/mixed-content/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/https-switcher/advanced/)

## Valoracións

 4.7 de 5 estrelas

 *  [  2 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=5)
 *  [  1 valoración de 4 estrelas     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/https-switcher/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/https-switcher/reviews/)

## Colaboradores

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/https-switcher/)