-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh of webpage #31
Conversation
While preparing to set the CNAME for this repository, I realized that the old pages will not redirect to the new ones:
Options:
|
https://zarr.dev/ is live as a copy as an example of option 2 but the redirection is not yet in place. |
Just to confirm how were you setting the CNAME? |
When we made this change in conda-forge (which was a while back and my memory is fuzzy) ( conda-forge/conda-forge.github.io#402 ), we added an entry to Cloudflare to handle redirections. Guessing we need to do something similar here with Namecheap? Maybe this is relevant? |
Since the old site is github.io I don't think we will be able to do anything at the DNS level. |
by setting a CNAME here: https://github.com/zarr-developers/zarr.dev/blob/main/CNAME |
We may also need to configure things on this page. In particular "Custom domain" to be the domain we want https://github.com/zarr-developers/zarr-developers.github.io/settings/pages |
That will be an option 1 scenario. https://zarr-developers.github.io/ as it currently exists will no longer be reachable, breaking google searches, etc. |
Sorry maybe I'm missing something. Was trying to see if we could get to 4. The suggestion above may not be all of the story, but perhaps part of what is needed |
Guessing we want 301 from this page, but feel free to correct me if I'm missing something |
Agreed, but I don't know anyway to do that at the site level. #32 will do it page for page which is what we did here: ome/blog#75, effectively replacing this PR. |
I think individual sites under the domain reroute automatically after putting in the domain redirection For example with conda-forge, https://conda-forge.github.io/docs -> https://conda-forge.org/docs Though maybe I'm misunderstanding the question |
I think that's correct just we can't do that for something we don't own (github.io) |
For clarity, this also works https://conda-forge.github.io/ -> https://conda-forge.org/ Though maybe I'm still not following the concern being raised. Could you please share an example of the kind of thing we are concerned about not working here? |
@jakirkham: do other sub-pages from conda-forge.github.io redirect? Edit: Ah, I see they do. But I can only imagine that GitHub is doing this, not conda-forge's DNS entries. So as long as we don't rename the repository to |
Update:
|
That's great! 🎉 Thanks Josh 😀 |
Updated the GitHub org URL to link directly to https://zarr.dev ( instead of https://zarr-developers.github.io as it was previously ) |
Thanks, @jakirkham. |
fix #29