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:
parent
a63d51075e
commit
97b4e4d593
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user