From 97b4e4d59313d5c00ba22c37b5ff152d923f85d7 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 20 Feb 2017 14:55:25 -0700 Subject: [PATCH] Forgot to redirect HTTPS urls that include www bzr-revno: 60 --- files/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/files/.htaccess b/files/.htaccess index 8fbcf28..d29074f 100644 --- a/files/.htaccess +++ b/files/.htaccess @@ -1,6 +1,7 @@ RewriteEngine on # Remove www from URL RewriteCond %{HTTP_HOST} ^www.openlp.org$ [NC] +RewriteCond %{HTTPS_HOST} ^www.openlp.org$ [NC] RewriteRule ^(.*)$ https://openlp.org/$1 [R=301,L] # Redirect HTTP to HTTPS RewriteCond %{HTTPS} off