mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 13:02:50 +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
|
RewriteEngine on
|
||||||
# Remove www from URL
|
# Remove www from URL
|
||||||
RewriteCond %{HTTP_HOST} ^www.openlp.org$ [NC]
|
RewriteCond %{HTTP_HOST} ^www.openlp.org$ [NC]
|
||||||
|
RewriteCond %{HTTPS_HOST} ^www.openlp.org$ [NC]
|
||||||
RewriteRule ^(.*)$ https://openlp.org/$1 [R=301,L]
|
RewriteRule ^(.*)$ https://openlp.org/$1 [R=301,L]
|
||||||
# Redirect HTTP to HTTPS
|
# Redirect HTTP to HTTPS
|
||||||
RewriteCond %{HTTPS} off
|
RewriteCond %{HTTPS} off
|
||||||
|
Loading…
Reference in New Issue
Block a user