Redirect all live domains to geo.coop #110

Closed
opened 2020-03-25 00:57:57 +00:00 by mlncn · 3 comments
mlncn commented 2020-03-25 00:57:57 +00:00 (Migrated from gitlab.com)

We're now consistently getting a spam comment at geo-live and one minute later a spam comment from geo.coop so this may help with #105 slightly.

We're now consistently getting a spam comment at geo-live and one minute later a spam comment from geo.coop so this may help with #105 slightly.
mlncn commented 2020-03-25 00:57:57 +00:00 (Migrated from gitlab.com)

changed weight to 1

changed weight to **1**
wolcen commented 2020-03-26 05:40:48 +00:00 (Migrated from gitlab.com)

Presently, added to live .htaccess:

RewriteCond %{HTTP_HOST} !^geo\.coop$ [NC]
RewriteRule ^ http%{ENV:protossl}://geo.coop/%{REQUEST_URI} [L,R]

Must be moved into configuration somewhere before next deploy.

Presently, added to live .htaccess: ``` RewriteCond %{HTTP_HOST} !^geo\.coop$ [NC] RewriteRule ^ http%{ENV:protossl}://geo.coop/%{REQUEST_URI} [L,R] ``` Must be moved into configuration somewhere before next deploy.
wolcen commented 2021-04-25 21:43:51 +00:00 (Migrated from gitlab.com)

This was added to the HTACCESS mod, so the subsequent deploys have picked it up.

FWIW, there is also a setting for Drutopia deploys called canonical_redirect which does this automatically when set to true.

This was added to the HTACCESS mod, so the subsequent deploys have picked it up. FWIW, there is also a setting for Drutopia deploys called `canonical_redirect` which does this automatically when set to `true`.
wolcen (Migrated from gitlab.com) closed this issue 2021-04-25 21:43:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: geo/geo-coop#110
No description provided.