mod_rewrite rule fixed #57
This commit is contained in:
parent
d84891f2ec
commit
f833c8f0cd
@ -14,6 +14,7 @@ AddOutputFilter DEFLATE css
|
|||||||
AddOutputFilter DEFLATE js
|
AddOutputFilter DEFLATE js
|
||||||
# Canonical URLs redirect to the domain with a www
|
# Canonical URLs redirect to the domain with a www
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine on
|
||||||
RewriteCond %{HTTP_HOST} ^coops\.tech$
|
RewriteCond %{HTTP_HOST} ^coops\.tech$
|
||||||
RewriteRule ^/?(.*) https://www.coops.tech/$1 [R,L]
|
RewriteRule ^/?(.*) https://www.coops.tech/$1 [R,L]
|
||||||
<IfModule>
|
<IfModule>
|
||||||
|
Loading…
Reference in New Issue
Block a user