Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Redirection to canonical domain name #13

Closed
typesend opened this issue Dec 9, 2019 · 10 comments
Closed

Redirection to canonical domain name #13

typesend opened this issue Dec 9, 2019 · 10 comments
Assignees
Labels
Operations Operations Track Tech Alpha. Technology and Development Track
Milestone

Comments

@typesend
Copy link

typesend commented Dec 9, 2019

Assuming the official domain for the alpha site is alpha.ca.gov (recommended) then www.alpha.ca.gov should eventually (but quickly) become a 301 (permanent) redirect to alpha.ca.gov.

https://www.alpha.ca.gov should not be marketed but will then work just in case someone mistakenly believes the www is necessary.

How the redirect is configured/created depends on the domain registry and/or hosting environment used.

Additionally, you might plan for a sequential release plan that allows you to maintain alpha.ca.gov as the bleeding edge experimental version when www.ca.gov is replaced by the new site.

Cheers!

@abquirarte abquirarte mentioned this issue Dec 9, 2019
14 tasks
@lukefretwell
Copy link
Contributor

@typesend thank you for adding the issue! Yes, this is all being worked on!

@abquirarte
Copy link

abquirarte commented Dec 10, 2019

fixed. Thank you @typesend !

@carterm
Copy link
Contributor

carterm commented Dec 10, 2019

@typesend Reopening this issue until it is completely addressed.

  • Document issue
  • Add server config file to repo.
  • Test
  • Deploy
  • Add related task to implement Strict Transport Security.

@typesend Thank you for your submission.

@carterm carterm reopened this Dec 10, 2019
@carterm carterm added this to the Sprint 1 milestone Dec 10, 2019
@carterm
Copy link
Contributor

carterm commented Dec 10, 2019

The http to https redirect was completed (before the first close), but the www.alpha.ca.gov to alpha.ca.gov permanent redirect will require additional work.

@carterm
Copy link
Contributor

carterm commented Dec 10, 2019

Justification

  • If we don't redirect traffic from www.alpha.ca.gov to alpha.ca.gov, we will have two different host records in analytics.

@carterm carterm self-assigned this Dec 10, 2019
@abquirarte
Copy link

Thank you for clarifying @carterm - Can you own this and let me know when we are ready to close?

and +1 @typesend thank you!

@carterm
Copy link
Contributor

carterm commented Dec 11, 2019

Before...
Request URL: https://www.alpha.ca.gov/
Request Method: GET
Status Code: 200 OK (from disk cache)

@carterm
Copy link
Contributor

carterm commented Dec 11, 2019

After...
Request URL: https://www.alpha.ca.gov/
Request Method: GET
Status Code: 301 Moved Permanently (from disk cache)
Location: https://alpha.ca.gov/

@typesend
Copy link
Author

Verified! 👍

@carterm
Copy link
Contributor

carterm commented Dec 11, 2019

Added related issue for HSTS. Last task complete. Closing.

@carterm carterm closed this as completed Dec 11, 2019
@carterm carterm added Operations Operations Track Tech Alpha. Technology and Development Track labels Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Operations Operations Track Tech Alpha. Technology and Development Track
Projects
None yet
Development

No branches or pull requests

4 participants