Title: Https Switcher
Author: janiko
Published: <strong>27. maj, 2015</strong>
Last modified: 2. oktober, 2016

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Https Switcher

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

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

 * [Detaljer](https://da.wordpress.org/plugins/https-switcher/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/https-switcher/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/https-switcher/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/https-switcher/#developers)

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

## Beskrivelse

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

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.

## Anmeldelser

![](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. oktober, 2016 1 svar

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. september, 2016 2 svar

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.

 [ Læs alle 3 anmeldelser ](https://wordpress.org/support/plugin/https-switcher/reviews/)

## Bidragsydere & udviklere

“Https Switcher” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Https Switcher” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/https-switcher)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/https-switcher/), tjek
[SVN repository](https://plugins.svn.wordpress.org/https-switcher/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/https-switcher/) via 
[RSS](https://plugins.trac.wordpress.org/log/https-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.1

 * Initial version.

#### 0.2

 * Some filters added

#### 0.3

 * Remove unwanted spaces

## Meta

 *  Version **0.3**
 *  Senest opdateret **10 år siden**
 *  Aktive installationer **60+**
 *  WordPress-version ** 3.0.1 eller højere **
 *  Testet op til **4.6.30**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/https-switcher/)
 * Tags
 * [http](https://da.wordpress.org/plugins/tags/http/)[https](https://da.wordpress.org/plugins/tags/https/)
   [mixed content](https://da.wordpress.org/plugins/tags/mixed-content/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/https-switcher/advanced/)

## Bedømmelser

 4.7 ud af 5 stjerner.

 *  [  2 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=5)
 *  [  1 4-stjernet anmeldelse     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/https-switcher/reviews/?filter=1)

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/https-switcher/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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