Version Description
First Release
=
Download this release
Release Info
Developer | paultgoodchild |
Plugin | CloudFlare Flexible SSL |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- .htaccess +4 -0
- plugin.php +15 -0
- readme.txt +58 -0
.htaccess
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
Order Allow,Deny
|
2 |
+
<FilesMatch "^.*\.(css|js|png)$">
|
3 |
+
Allow from all
|
4 |
+
</FilesMatch>
|
plugin.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Plugin Name: CloudFlare Flexible SSL
|
4 |
+
* Plugin URI: http://icwp.io/2f
|
5 |
+
* Description: Fix For CloudFlare Flexible SSL Redirect Loop For WordPress
|
6 |
+
* Version: 1.0.0
|
7 |
+
* Text Domain: cloudflare-flexible-ssl
|
8 |
+
* Author: iControlWP
|
9 |
+
* Author URI: http://icwp.io/2e
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Simple 1st version. More to come.
|
13 |
+
if ( isset( $_SERVER['HTTP_CF_VISITOR'] ) && strpos( $_SERVER['HTTP_CF_VISITOR'], 'https' ) !== false ) {
|
14 |
+
$_SERVER['HTTPS'] = 'on';
|
15 |
+
}
|
readme.txt
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: paultgoodchild, dlgoodchild
|
3 |
+
Donate link: http://icwp.io/q
|
4 |
+
License: GPLv3
|
5 |
+
License URI: http://www.gnu.org/licenses/gpl.html
|
6 |
+
Tags: CloudFlare, SSL, Flexible SSL, Universal SSL, redirect loop
|
7 |
+
Requires at least: 3.2.0
|
8 |
+
Tested up to: 4.0
|
9 |
+
Stable tag: 1.0.0
|
10 |
+
|
11 |
+
Fix For CloudFlare Flexible SSL Redirect Loop For WordPress.
|
12 |
+
|
13 |
+
== Description ==
|
14 |
+
|
15 |
+
Using CloudFlare's Flexible SSL on WordPress isn't as simple as just turning it on.
|
16 |
+
|
17 |
+
This plugin forms an **integral part** to enabling Flexible SSL on WordPress and will prevent infinite redirect loops when loading WordPress sites under CloudFlare's Flexible SSL system.
|
18 |
+
|
19 |
+
[Click here to learn more](http://www.icontrolwp.com/2014/10/enabling-cloudflares-universal-flexible-ssl-wordpress-without-infinite-redirect-loops/).
|
20 |
+
|
21 |
+
== Frequently Asked Questions ==
|
22 |
+
|
23 |
+
= Does this plugin affect non-SSL traffic? =
|
24 |
+
|
25 |
+
No. It only comes into play when CloudFlare is serving HTTPS traffic from your site.
|
26 |
+
|
27 |
+
= Should I change my WordPress Site URL to HTTPS? =
|
28 |
+
|
29 |
+
No - there is no need. Use CloudFlare's pages rules to redirect your visitors. You can then safely turn off SSL whenever you want from within CloudFlare and your WordPress site will still load on HTTP.
|
30 |
+
|
31 |
+
= What happens if I disable this plugin AFTER enabling Flexible SSL on CloudFlare? =
|
32 |
+
|
33 |
+
Your WordPress site will not load on HTTPS/SSL. You will create an infinite loop loading problem and the only way to solve this is to turn off SSL redirects within CloudFlare.
|
34 |
+
|
35 |
+
= Does I need this plugin if I use CloudFlare FULL or Strict SSL? =
|
36 |
+
|
37 |
+
No. It is designed only to assist with Flexible SSL.
|
38 |
+
|
39 |
+
== Screenshots ==
|
40 |
+
|
41 |
+
n/a
|
42 |
+
|
43 |
+
== Installation ==
|
44 |
+
|
45 |
+
For full installation instructions, please review the following article: [Installation Instructions](http://www.icontrolwp.com/2014/10/enabling-cloudflares-universal-flexible-ssl-wordpress-without-infinite-redirect-loops/).
|
46 |
+
|
47 |
+
== Changelog ==
|
48 |
+
|
49 |
+
= 1.0.0 =
|
50 |
+
|
51 |
+
First Release
|
52 |
+
|
53 |
+
== Upgrade Notice ==
|
54 |
+
|
55 |
+
= 1.0.0 =
|
56 |
+
|
57 |
+
First Release
|
58 |
+
|