Formalize public legal and policy pages#12
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Apply the four-link footer (Terms | Privacy | Anti-Slavery | AML
Policy) to every page that still had placeholder `href="#"` Terms
and Cookies links, or the `href="calculator.html"` Terms/Cookies
pattern. The new policy pages introduced in the previous commit are
now reachable from the entire site, not just the four pages updated
there.
Pages rolled out (24):
ai-knowledge-hub, blog, calculator, careers, case-studies,
contact, demos, developer, education, free-trial, new-pricing,
nudge-vs-{attentive,mailchimp,messagebird,sendgrid,twilio},
nudge, plan-recommendation, price, signup, tillipay, tillix,
twilio-alternatives, valuebasedpricing.
Also fixed two canonical policy pages whose own footers were
incomplete after the prior commit:
- terms-conditions.html: replaced no-separator variant with
the standard four-link footer.
- privacy-policy/index.html: added | separators between the
four existing links.
Per-page indentation and inline-vs-multiline style preserved. The
"Cookies" footer link is fully removed site-wide; consent UI
remains accessible via enhanced-cookie-banner.js "Manage
preferences".
0522e5e to
39f3515
Compare
abs1337
left a comment
There was a problem hiding this comment.
Pushed a second commit on top with the follow-ups below:
-
Rebased onto latest main — picks up the cleanUrls + trailingSlash fix from #13, so the new policy pages resolve correctly on extensionless URLs (/aml-policy, /anti-slavery-policy, /terms-conditions, /privacy-policy) in the Vercel preview.
-
Rolled the new four-link footer (Terms | Privacy | Anti-Slavery | AML Policy) out to every page that still had href="#" Terms/Cookies placeholders or the broken href="calculator.html" pattern (24 pages). Also fixed the footers on
terms-conditions.html and privacy-policy/index.html, which were incomplete in the original commit. -
Indentation and inline-vs-multiline style preserved per page; the "Cookies" footer link is gone site-wide (consent UI is still reachable via the cookie banner's "Manage preferences").
Verified locally before push:
- Server starts clean, every new policy URL returns 200 (extensionless, .html, and directory forms).
- Every footer href resolves to 200 from both root and subdirectory contexts (incl. the ../-prefixed links from /privacy-policy/).
- No href="#" or href="calculator.html" left inside any footer-legal-links block anywhere in the repo.
One follow-up worth tracking separately:
Canonical-domain inconsistency across the site — most pages declare https://www.tilli.pro/... as canonical while sitemap.xml and a couple of pages use https://www.tillisoftware.com/.... Since tilli.pro 301s to tillisoftware.com, the
canonicals should match the redirect target. Out of scope here; will open a separate PR.
The root-level privacy-policy.html was a 16-line meta-refresh stub pointing at privacy-policy/index.html (the canonical content). After the rebase pulled in the cleanUrls + trailingSlash:false config from #13, Vercel began resolving /privacy-policy to the root stub, whose JS then sent the browser to /privacy-policy/ index.html — which Vercel 308-redirects back to /privacy-policy — producing an infinite redirect loop and leaving the canonical content unreachable. Deleting the root stub lets Vercel's cleanUrls fall through to privacy-policy/index.html for /privacy-policy, which serves the canonical content directly. A permanent redirect rule is added to vercel.json so external links to the old /privacy-policy.html form still reach the canonical content with a 301. Verified URL resolution: /privacy-policy -> 200 canonical (filesystem fallthrough) /privacy-policy/ -> 308 -> /privacy-policy -> 200 /privacy-policy/index.html -> 308 -> /privacy-policy -> 200 /privacy-policy.html -> 301 (redirect rule) -> /privacy-policy -> 200 The other three policy pages are unaffected: their canonical content already lives at the root .html, so cleanUrls handles the /.html form via its built-in redirect.
Summary
Follow-up changes (takeover)
main— the cleanUrls + trailingSlash fix from fix: enable cleanUrls in vercel.json to fix site-wide 404s on extensionless URLs #13 is now inherited, so extensionless URLs (/aml-policy,/anti-slavery-policy,/terms-conditions,/privacy-policy) resolve correctly in production.href="#"Terms/Cookies links or the brokenhref="calculator.html"Terms/Cookies pattern, so the new policy pages were unreachable from most of the site.terms-conditions.html(replaced no-separator variant) andprivacy-policy/index.html(added|separators).enhanced-cookie-banner.js→ "Manage preferences".Known follow-ups (not in this PR)
https://www.tilli.pro/...for<link rel="canonical">and OG tags, whilesitemap.xmlandai-knowledge-hub.htmlusehttps://www.tillisoftware.com/.... Sincetilli.proredirects totillisoftware.com, the site-wide canonical sweep should land in a separate PR.Notes
.html, and directory-style forms; every footer href resolves to 200 from both root and subdirectory contexts.