Skip to content

Drop the hyphenated-apex redirects, now owned by cibc-website - #36

Merged
zhiganov merged 1 commit into
mainfrom
chore/hyphenated-redirects-move-to-website
Aug 3, 2026
Merged

Drop the hyphenated-apex redirects, now owned by cibc-website#36
zhiganov merged 1 commit into
mainfrom
chore/hyphenated-redirects-move-to-website

Conversation

@zhiganov

@zhiganov zhiganov commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Config only, no content changes.

This file carried four rules sending citizen-infra.org and www.citizen-infra.org to the wiki, along with the reason and an instruction:

WHEN Citizen-Infra/cibc-website#1 SHIPS: repoint these four rules at https://citizeninfra.org/ and move the whole block into that repo's netlify.toml.

It shipped on 2026-08-04. citizeninfra.org now serves the CIBC landing page instead of a GoDaddy parking page, so the stopgap is over and the rules have moved to cibc-website/netlify.toml, repointed at the apex and with :splat added — the destination is now this domain's mirror, so a forwarded path reaches the matching page rather than 404ing on the wiki.

wiki.citizen-infra.org is untouched. That host is the wiki's own hyphenated address and its two rules stay here.

The part worth carrying forward

A Netlify redirect only fires on the site that receives the request, and a hostname can be claimed by one Netlify site at a time. So the rules and the domain aliases have to move together — moving either alone takes the domain dark, and the two cannot overlap. Sequence used:

  1. Deploy the rules on cibc-website first, where they sit inert until traffic arrives
  2. Release citizen-infra.org + www.citizen-infra.org from this site's aliases
  3. Claim them on citizeninfra
  4. This PR — remove the now-dead rules

That keeps the unclaimed window to the alias swap alone rather than spanning two deploys.

Verified after the move

https://citizen-infra.org/                        301 -> https://citizeninfra.org/
https://citizen-infra.org/privacy/my-community    301 -> https://citizeninfra.org/privacy/my-community
https://www.citizen-infra.org/                    301 -> https://citizeninfra.org/
https://wiki.citizen-infra.org/                   301 -> https://wiki.citizeninfra.org/
https://wiki.citizeninfra.org/                    200

The deep link matters specifically: /privacy/my-community is the URL published in My Community's Chrome Web Store listing, and a redirect that dropped the path would land a reviewer on the homepage.

Nothing here affects the build, the sidebar, or any page.

These four rules sent citizen-infra.org and www.citizen-infra.org here, and
this file said why: the citizeninfra.org apex was a GoDaddy parking page, the
wiki was the only real CIBC content on the web, and GoDaddy's own forwarding is
HTTP-only so it mostly never fired. It also said to move them once the landing
page shipped.

It shipped, so they moved — to cibc-website/netlify.toml, repointed at
citizeninfra.org and with :splat added, since the destination is now this
domain's mirror rather than an unrelated site where a forwarded path would 404.

The Netlify aliases moved with them, which is the part worth keeping in mind: a
redirect only fires on the site that receives the request, and a hostname can be
claimed by one Netlify site at a time. Rules were deployed on the destination
first, then the aliases released here and claimed there, so the unclaimed window
was the swap alone.

Verified after the move: citizen-infra.org and www.citizen-infra.org 301 to the
apex with paths preserved, wiki.citizen-infra.org still 301s here, and
wiki.citizeninfra.org still serves 200.

wiki.citizen-infra.org is untouched — that host is the wiki's own and stays.
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for citizen-infra ready!

Name Link
🔨 Latest commit 75ec824
🔍 Latest deploy log https://app.netlify.com/projects/citizen-infra/deploys/6a711439f18a74000840aa5d
😎 Deploy Preview https://deploy-preview-36--citizen-infra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zhiganov
zhiganov merged commit ca3c1b4 into main Aug 3, 2026
5 checks passed
@zhiganov
zhiganov deleted the chore/hyphenated-redirects-move-to-website branch August 3, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant