refactor(tbmq): drop TBMQ legal pages superseded by tbmq.io - #630
Merged
vvlladd28 merged 2 commits intoAug 27, 2026
Conversation
The TBMQ privacy policy and terms of use now live on the product site at tbmq.io/product/privacy-policy/ and tbmq.io/product/terms-of-use/, which demo.tbmq.io links to directly. The thingsboard.io copies were orphaned by the TBMQ landing-page removal — nothing linked them but each other. No redirects added: the paths do not map 1:1 onto the new site, and the inbound traffic now originates from demo.tbmq.io rather than here. Also drops their OG card entries from marketing-meta.ts.
vvlladd28
approved these changes
Aug 27, 2026
The deleted /products/mqtt-broker/privacy-policy/ and terms-of-use/ would otherwise 404: the existing /products/mqtt-broker/ rule is an exact path, not a prefix, so it doesn't cover them. tbmq.io serves both under a /product/ prefix, so each needs its own rule rather than a splat.
vvlladd28
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Deletes the two TBMQ legal pages from thingsboard.io:
src/pages/products/mqtt-broker/privacy-policy.astrosrc/pages/products/mqtt-broker/terms-of-use.astro…along with their OG card entries in
src/pages/open-graph/_shared/marketing-meta.ts. Thesrc/pages/products/mqtt-broker/directory is now empty and gone.Why
The TBMQ privacy policy and terms of use now live on the product site:
demo.tbmq.iolinks to those directly, so inbound traffic no longer originates here. On thingsboard.io the two pages were orphaned by the TBMQ landing-page removal — nothing linked them but each other.Redirects
Both old paths now 301 to their tbmq.io equivalents, added to
NON_DOCS_REDIRECTSinsrc/data/redirects.tsand regenerated intopublic/_redirectswithpnpm generate:redirects:They need their own rules rather than a splat: the existing
/products/mqtt-broker/ → https://tbmq.io/rule is an exact path, not a prefix, and the new site nests the pages under a/product/prefix that doesn't map 1:1 onto the old one. Without these, the deleted pages would 404.public/redirects.jsonis unchanged — it only carries/docs/*.astro.redirects.tsspreadsNON_DOCS_REDIRECTS, sopnpm dev/pnpm previewpick the rules up automatically.Verification
marketing-meta.ts, sitemapcurl)_redirectstotals 1091 static + 47 dynamic — well inside the Cloudflare Pages 2,000 / 100 limitspnpm check— 0 errors, 0 warningspnpm lint:eslint— cleanpnpm lint:linkcheckhas not been run yet (needs a full build).