mod_rewrite rule fixed #57

This commit is contained in:
Chris Croome 2019-06-20 07:05:19 +01:00
parent d84891f2ec
commit f833c8f0cd

View File

@ -14,6 +14,7 @@ AddOutputFilter DEFLATE css
AddOutputFilter DEFLATE js
# Canonical URLs redirect to the domain with a www
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^coops\.tech$
RewriteRule ^/?(.*) https://www.coops.tech/$1 [R,L]
<IfModule>