The Doozer Brainlive from the knowledge bundle · v2.2.618 · 2026-09-13 17:17 ETall pages · one page

Shortlinks and QR (doozer.link)

systems/shortlinks-and-qr.md · System · shortlinks, qr, claim, doozer-plus

unverified: no trust signals recorded yet

One permanent, claim-aware doozer.link + QR per site — the printed asset that flips from the claim page to the real site on claim.

Shortlinks and QR (doozer.link)

Every Doozer site gets one permanent shortlink and QR — a real, printable asset. It lives at doozer.link/<slug> and is claim-aware, so the same printed code changes where it points the moment the business is claimed. Engine: includes/shortlinks.php (host doozer.linkshortlinkHandleRequest from index.php). Table: shortlinks (self-heals).

The permanent, claim-aware site link

The QR image

?e=qr (in api-endpoints.php) — a same-origin QR image, proxied + cached from api.qrserver.com to cache/qr/. Params: slug|data, size, fg, bg, format (png|jpg). Same-origin (with Access-Control-Allow-Origin:*) is required so the owner panel can export a transparent PNG on a canvas (a cross-origin image would taint it) and any surface can copy the QR image to the clipboard (siteQrCopyScript(), [data-qr-copy], a fetch → ClipboardItem → toast).

Owner surface + on-site display

Doozer+ vanity

shortlinkSetVanity($bizId, $slug) sets a friendly slug (e.g. doozer.link/powell-flooring) as the new primary; old slugs stay active and keep resolving (old printed QR still works — "use the new one going forward"). Doozer+ gated (businessIsPremiumOwned), owner-gated (?ajax=manage_vanity). Postcards auto-print the primary, so they pick up the vanity with no extra wiring.

See also: claim codes, the flywheel, postcards.

Shortlinks + QR routing (doozer.link)Source-of-truth cache (read the real website)