Skip to content

Instantly share code, notes, and snippets.

@paretje
paretje / force-ssl-url-scheme.php
Last active August 29, 2015 14:00 — forked from webaware/force-ssl-url-scheme.php
Force WordPress to use https
<?php
/*
Plugin Name: Force SSL URL Scheme
Plugin URI: https://gist.github.com/webaware/4688802
Description: Force the protocol scheme to be HTTPS when is_ssl() doesn't work
Version: 1.0.0-paretje3
Author: WebAware
Author URI: http://www.webaware.com.au/
Changed by: Paretje
Change: no need of javascript