1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00

Forgot to redirect HTTPS urls that include www

bzr-revno: 60
This commit is contained in:
Raoul Snyman 2017-02-20 14:55:25 -07:00
parent a63d51075e
commit 97b4e4d593

View File

@ -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