lookit / lookit-api

Codebase for Lookit v2 and Experimenter v2. Includes an API. Docs: http://lookit.readthedocs.io/
https://lookit.mit.edu/
MIT License
10 stars 18 forks source link

Redirect lookit.mit.edu to childrenhelpingscience.com #1352

Closed becky-gilbert closed 7 months ago

becky-gilbert commented 8 months ago

TL; DR

The site is currently available via two domains: lookit.mit.edu and childrenhelpingscience.com. We should continue supporting the MIT domain but redirect all traffic to the CHS domain.

Narrative

Following the Lookit/CHS merger, we are supporting both domains for the site but trying to re-brand as CHS. It's important that the MIT domain is still functional, but for branding consistency we would like the CHS domain to be used by researchers, in email templates, etc.

Also, the use of two different domains is negatively affecting the participant experience in some cases, because logins are specific to a single domain. For example, if a participant completes a study on one domain (e.g. MIT) and is redirected back to the site after the study using the other domain (e.g. CHS), then the participant will hit the login page instead.

Our best solution for this problem is to redirect all MIT-domain traffic to the CHS domain. This way, the MIT links will still be functional, but it will not be possible for a participant to be logged in to the MIT domain (since the login page will redirect to CHS) and there will be no uncertainty as to which domain a user might be on.

Implementation

The actual redirection should be largely done by Burwood. We will need to test things and address any unforeseen consequences.

Note that merging the PR will just set this change up in the orchestrator, but not actually cause it to go into production. After merging we will need to rebuild/deploy staging, test, and then rebuild/deploy production (or revert the orchestrator PR if there are problems).

To do

Other related issues that make sense to address at the same time

becky-gilbert commented 8 months ago

Reopening this issue (it was closed automatically because it's linked to the orchestrator PR that has been merged).