3
0
mirror of https://git.coop/cotech/website.git synced 2025-10-07 02:44:35 +00:00

switch to www.cotech.coop

This commit is contained in:
Chris Croome
2025-07-29 14:28:52 +01:00
parent 978a1dc91e
commit e616a70552
2 changed files with 10 additions and 11 deletions

View File

@ -13,15 +13,14 @@ AddOutputFilter DEFLATE svg
AddOutputFilter DEFLATE css
AddOutputFilter DEFLATE js
# URL's that changed
Redirect /co-op/the-dot-project https://www.coops.tech/co-op/dot-project
Redirect /coops/ https://www.coops.tech/co-op/
Redirect /technology/gnu-bash https://www.coops.tech/technology/bash
Redirect /co-op/graphics-coop https://www.coops.tech/co-op/form-and-function
Redirect /coops/ https://www.cotech.coop/co-op/
Redirect /technology/gnu-bash https://www.cotech.coop/technology/bash
Redirect /co-op/graphics-coop https://www.cotech.coop/co-op/form-and-function
# 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]
RewriteRule ^/?(.*) https://www.cotech.coop/$1 [R,L]
</IfModule>
# Redirect HTTP to HTTPS
# https://wiki.apache.org/httpd/RewriteHTTPToHTTPS