Repository navigation
Description
The goal
sahajayoga.ca shows the Sahaj Atlas on its Wix site, set up through the guided setup screen, and every city and class in Canada gets its own address that search engines can find. This proves the Wix setup on a real site, so the next Wix site can follow the same steps.
Why it matters
The setup screen for Wix shipped with #348, and sahajayoga.ca has already used it — but on a trial address, /sahajatlastesting, rather than the classes page people actually visit. Those trial pages mostly work: each city has its own address and its own title, and 83 of them are listed in the site's sitemap today. Two things stand in the way of doing it for real. A city address opens the whole map instead of that city, so someone searching for Calgary lands on a page titled Calgary showing the whole of Canada. And moving the atlas onto /free-classes displaces the page that lives there now, in English and in French.
What success looks like
- A Wix volunteer finishes setup without writing any code: they paste only what the screen gives them, and the screen says plainly which steps change the Wix site itself.
- On sahajayoga.ca, each city and class in Canada has its own address under
/free-classes, with its own title in search results, and is listed in the site's sitemap. - Opening
www.sahajayoga.ca/free-classes/ca/ontariodirectly shows Ontario in the atlas — on first load, after a refresh, and after pressing Back from a class page — not the opening view of the whole map. - Clicking from a region to a class keeps the address in the same shape,
/free-classes/ca/ontario/toronto/1600, and never an address with?atlas=in it. - Each of those addresses names itself as the address search engines should use — never an address on another site.
- An address under
/free-classesthat names nothing shows the site's "page not found". - Each city page carries its own words in the page itself, not only inside the map, and the setup screen shows every check green for this site.
- Pressing Back and Forward inside the atlas brings the map and the list straight back, with no spinner and nothing fetched again. A list that was scrolled down starting at the top again is expected.
- The map loads on sahajayoga.ca after the new setup replaces the old page.
- No other page on sahajayoga.ca competes with the new city pages: the trial addresses under
/sahajatlastestingare gone from the site and from its sitemap, as are/sahajatlas,/copy-of-sahajatlasand/atlas-testing-page. - Whatever
/free-classessays today still has a home, in English and in French. -
www.sahajayoga.ca/free-classesshows "Weekly Free Classes | Sahaja Yoga Canada", not the atlas's standard wording.
Not included
- sahajayoga.org.uk. Its volunteer uses the same setup screen whenever they are ready, with nothing left to build.
- French city addresses. A French visitor opening
/fr/free-classes/ca/ontariogets the atlas, but the map cannot follow the address there, so they would see Ontario's title above the whole world map. Open question 3 asks what to do about that instead. - More watching of a site's search setup than shipped with Volunteers set up the atlas on their own site, Wix included, with searchable links #348: a failing site appears in the "Your websites" email.
- A Wix App Market app.
- Turning the search-friendly addresses on for any site other than sahajayoga.ca. Each site earns them on its own check.
- Newer Wix sites. The setup screen refuses the kind of site Wix's "create a new site" flow makes today, because those cannot run a router. sahajayoga.ca is an older site and is unaffected, but "the next Wix site" means another older one.
Decisions
- How does a Wix site turn on the search-friendly addresses? → From the site's record in SahajCloud. The widget learns to read the setting SahajCloud already serves, so a site can be switched back without asking the volunteer to paste again. (Ardnived, 2026-11-18)
- What title and description does the atlas's main page show on sahajayoga.ca? → The site's own, through A site can use its own title and description for the atlas's main page #350, which this goal waits on for that one line. (Ardnived, 2026-11-18)
- Who sets up sahajayoga.ca, and does this goal wait for them? → The goal stays open until sahajayoga.ca is live on the new setup. (Ardnived, 2026-11-18)
- Can a volunteer be asked to do the Wix steps alone? → The screen offers help: it ends with "stuck? ask a maintainer", and a maintainer joins as an editor for one session. (Ardnived, 2026-11-18)
- Is sahajayoga.org.uk part of this goal? → No, it uses the same screen later. (Ardnived, 2026-11-18)
- Which address does the atlas use on sahajayoga.ca? →
/free-classes. (Ardnived, 2026-10-31)
Open questions
- 1. What happens to the page
/free-classesis today?- The atlas cannot share that address with the page already there: on Wix a page cannot become a router, so the existing page has to move before the atlas can claim the prefix. It ranks today as "Weekly Free Classes | Sahaja Yoga Canada", and it has a French twin, "Cours hebdomadaires gratuits".
- A — Carry its words onto the new atlas page, in both languages (recommended): the address keeps its meaning and its title. The title half needs A site can use its own title and description for the atlas's main page #350, which is parked until 30 November at the lowest priority and whose own decision is to do Wix after the first Wix site is live — so one of the two has to move first.
- B — Move the existing page to another address and let
/free-classesbe the atlas alone: nothing to wait for, and the site's best-known classes page loses its words and its title from the address people reach. - C — Put the atlas on a different address and leave both
/free-classespages alone: nothing is lost, and the site then has two classes pages competing. This reopens the decision of 2026-10-31.
- 2. What happens to the 83 trial addresses under
/sahajatlastesting?- They are live and in the site's sitemap right now, each naming itself as its own address in search. Left alone they compete with the new city pages exactly as the old
/sahajatlaspage would. - A — Remove them at the go-live (recommended): one set of city pages, and the sitemap says so. They have been up for days, so little can have been indexed.
- B — Forward each to its new address: nothing already found is lost, if the Wix dashboard can forward a whole tree at once. If it cannot, it is hand-written code, which this goal exists to avoid.
- C — Leave them: no work now, and the site competes with itself for every Canadian city.
- They are live and in the site's sitemap right now, each naming itself as its own address in search. Left alone they compete with the new city pages exactly as the old
- 3. What should a French visitor see on a city address?
- A — Send them to the French atlas home (recommended): honest, and nothing new to build. They lose the city they clicked.
- B — Teach the map to follow a French address too: French works like English, and it changes an address rule three sites share.
- C — Leave it: a French visitor sees the city's name and text above a map of the whole world.
Notes
Follows #348, which built the setup screen and closed on 2026-11-18 with these lines left over.
Depends on #350 for the main-page title line only. Not written as a blocker, because the rest of this goal can proceed without it. Open question 1 asks whether that stays true, because #350 is parked until 2026-11-30 and waits on this goal in turn.
Technical notes
TL;DR (re-measured 2026-11-18)
- Settled: the Wix install works end to end on sahajayoga.ca's trial prefix — router, titles, self-canonicals, real 404s, an 83-entry sitemap, a positive routing probe — and the classic-script loader Wix needs shipped in fix(loader): auto.js runs as a classic script, so Wix can load it #409.
- Risky: nothing in the widget reads the route from the path, so every trial city page renders the country view under a city's title. That is this goal's one engineering item.
- Unknown: whether the widget rewriting the pathname fights the Wix router. It rewrites the query without a fight (measured); path mode has never run under a router. The trial prefix is a free place to settle it before
/free-classesis touched.
Measured on the live site, 2026-11-18
Headless Chromium and curl against www.sahajayoga.ca, read-only.
| Check | Result |
|---|---|
/sahajatlastesting/ca/alberta/calgary |
200 · <title>Calgary, Canada</title> · self-canonical · <sahaj-atlas> present |
| …what the widget then shows | URL becomes ?atlas=/ca and the map opens on Canada, not Calgary |
…same page with ?atlas=/ca/alberta/calgary |
shows Calgary and its real class ("Evening Meditation at 416 Meridian Rd SE") |
/sahajatlastesting/zz/nonexistent |
404 with the site's own "404 | Sahaja Yoga Canada" |
dynamic-sahajatlastesting-sitemap.xml |
83 <loc> entries, linked from the site's sitemap index |
The auto.js tag Wix writes |
no type attribute; the bridge inserts loader.js as a module; no console errors |
/free-classes, /free-classes/ca/ontario |
200, sitewide title, no <sahaj-atlas>; any sub-path is a soft 404 |
/fr/free-classes |
200, "Cours hebdomadaires gratuits | Sahaja Yoga Canada" |
sahajayoga.ca (apex) |
301 → www.sahajayoga.ca |
Competing pages in pages-sitemap.xml |
/sahajatlas, /copy-of-sahajatlas, /atlas-testing-page, /free-classes, /classes (301 → /free-classes) |
The router, the data and the widget are each correct. The only broken link is that the widget never reads the pathname.
⚠ No sahajAtlasContent element on any trial page: the Install tab's crawlable-text step was never done, so the body check cannot be green.
The one change, and where it lands
SahajCloud already serves the answer and says so; the widget throws it away.
| Half | State | Evidence |
|---|---|---|
SahajCloud serves a virtual canonical.routing, derived from the routing probe |
shipped | Clients.ts:839-861 |
The widget's select already asks for the whole canonical group |
shipped | src/config/api/fetch.ts:747 |
| The generated types already carry the field | shipped | src/types/payload/payload-types.ts:2516 |
ClientSchema admits only canonical.enabled and canonical.embed, so zod strips it |
the gap | src/types/client.ts:39-44 |
| The only input to the mode is the script parameter | the gap | src/loader/config.ts:111,185 → src/lib/shape/routing.ts:181; the gate is src/Widget.tsx:87 |
Generalising that gate costs no extra round trip: App already suspends on the same clients/me key through the same module-singleton query client.
⚠ Two SahajCloud sentences already claim the widget reads this field, and are false on main: SahajCloud/docs/rules/clients.md:95 and Clients.ts:853. docs/embedding.md:133 ("the router owns the addresses") is false in the same way — in query mode the widget never reads the pathname, and then writes ?atlas= onto the router's own path.
⚠ Routing is derived, never configured (sydevs/SahajCloud#644): the probe's verdict is the only answer, and "switching a site back" means the probe demoting it. There is no routing field for anyone to set. Worth deciding separately whether an override should exist.
⚠ Path mode takes its prefix from canonical.embed, built from the stored domain verbatim, and mountPrefix needs an exact host match. The apex 301s to www, so a record storing sahajayoga.ca degrades every real page view to query mode with only a console warning. Store the www host.
⚠ Ownership first: canonical.embed exists only once region ownership is on, so the order is forced — install at /free-classes → the check claims Canada → the probe promotes → the widget path-routes. The success lines read as if the addresses and the deep-link fix are independent; they are not.
⚠ routing=path is still written into the custom-site and WordPress snippets. Dropping that parameter and adding the record read have to land together, or those hosts fall back to query silently.
Build plan
- sydevs/SahajAtlasWeb — widen
ClientSchema.canonicalwithrouting, and let the record rather thanconfig.routingdecide the mode atWidget.tsx:87. Path mode itself is already built. Updatedocs/embedding.md(the Wix line, theroutingparameter row, therouting=pathsection) andCHANGELOG.md, because a host can observe it. - sydevs/SahajCloud — correct
docs/rules/clients.md:95and the comment atClients.ts:853once the widget really reads the field. - No repo — the go-live: move the existing
/free-classespage aside, set the stored domain to thewwwhost before the element goes live (the request origin moves from*.filesusr.comtowww.sahajayoga.ca, and the allowlist is one domain plus its www twin), add the router and the crawlable text, publish, let the check claim Canada, then remove the trial and old atlas pages.
Carried over, still true
- A Wix app cannot define a router, so a Custom Element plus a Velo router is the only shape. Both client sites are Premium with their own domains.
- The routing probe's token path is answered as the root with
noindex, so the "page not found" line and the probe do not fight. Measured positive at the trial prefix today. - Canada has no owning site recorded yet; the go-live's own check claims it. feat(pages): place pages in each service by its configuration SahajCloud#783 (unowned regions naming a preview host as canonical) stops applying once it does.
- Each Wix router page view is a metered SahajCloud read, cached 300 s.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsAwaiting
Activity
sydevs-bot commentedon Nov 18, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
sydevs-bot commentedon Nov 18, 2026
Reviewed. Two measurements changed what this goal says.
The Wix setup is already live on sahajayoga.ca, at
/sahajatlastesting: 83 city pages with their own titles, self-canonicals, real 404s and a sitemap. The goal said nobody had done the setup.They open the whole map.
/sahajatlastesting/ca/alberta/calgaryshows Canada under Calgary's title. Given?atlas=/ca/alberta/calgarythe same page shows Calgary and its real class — so the router and the data are right, and only the widget never reads the address. SahajCloud already serves the setting it needs.I also closed the "does Wix load our script as a module" unknown: #409 settled it three days ago.
Three decisions need you, under
## Open questions: the page/free-classesis today, the 83 trial pages, and French visitors.Reply
@sydevs-bot revise 1A, or in your own words. Once nothing is open,@sydevs-bot implementfiles one ticket per repo and starts building them.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code