Five Things That Break When You Migrate a Help Center (And How to Check Each One)
Moving a help center looks like an export-and-import problem. It is not. The export is the easy half; the failures show up weeks later, when an old URL that marketing still links to answers 404, or when a screenshot inside a 2019 article silently turns into a broken-image icon.
I build HelpFerry, which imports help centers from Helpjuice, HelpDocs, Zendesk and Intercom. These are the five failures I design around, and the check for each one.
Trap 1: vendor HTML is not portable
Help center bodies are not clean HTML. They are HTML plus whatever the vendor invented:
{ "id": 4711, "title": "Set up SSO", "body": "<p>Follow the steps below.</p><div class=\"hs-embed\" data-id=\"9c3\">{{embed:sso_video}}</div><p>Then <a href=\"/articles/88\">map your roles</a>.</p>" } That {{embed:...}} has no meaning outside the tool that wrote it. A naive importer keeps it as text on the live page, or worse, keeps the <div> and lets a theme stylesheet render an empty box.
What I do instead is parse into a structural block model and drop the chrome: script, style, iframe, object, embed, form and its controls, nav, header, footer, svg, canvas, video. Presentational inline wrappers are unwrapped, and a small mapping normalises the formatting the editor actually supports (b → strong, i → em, tt/kbd/samp → code). Presentational wrappers like span and font disappear; their text stays.
The check: count the paragraphs before and after. A page that had 40 paragraphs and imports with 6 lost content, and no exception was raised.
# after an import, compare a vendor page against the new one curl -s "https://old.example.com/articles/setup-sso" | grep -c "<p" curl -s "https://help.example.com/a/setup-sso" | grep -c "<p" Two more ceilings worth knowing before you start: I cap documents at 500 blocks, because the editor caps them too, and everything goes through the sanitiser, so a hostile page cannot smuggle a javascript: URL into an article. Shortcodes and vendor components are the things you will have to edit by hand. Budget for them: on a 400-article migration, expect a few dozen pages with one embedded widget each.
Trap 2: images are hosted somewhere that does not like you
Exported bodies usually still reference the vendor's asset host:
<img src="https://assets.vendorcdn.example/9c3f1e/screenshot.png" alt="SSO settings"> If you import the HTML as-is, three things happen in order: the images work while your account is alive, they 403 the day you cancel, and your migration now has a content problem, not an infrastructure problem. Hotlink protection makes it worse — some CDNs answer 403 to any referer that is not the original host, so you cannot even verify visually.
I rehost every image at import time, then rewrite the block to point at the new location:
remote: https://assets.vendorcdn.example/9c3f1e/screenshot.png stored: sites/<site>/import/<job>/12.png public: /media/sites/<site>/import/<job>/12.png db: assets(type=image, key=..., bytes=184320, width=1280, height=800) The limits, stated because they are real: 5 MB per image, png/jpeg/webp/gif only, 300 images per job. SVG is refused outright — an SVG is an active document, not an image. An image that cannot be fetched is dropped with a visible warning and the article still imports; the alternative is leaving the <img> pointing at a host you are about to cancel, which fails silently for every reader.
The check: after import, make sure zero imported bodies reference a non-HelpFerry host.
curl -s "https://help.example.com/sitemap.xml" \ | grep -o "<loc>[^<]*" | cut -c6- \ | while read u; do curl -s "$u" | grep -o 'src="https\?://[^/"]*'; done \ | sort | uniq -c | sort -rn If anything other than your own domain shows up, the rehost step missed it.
Trap 3: slug drift is an SEO problem, and it happens quietly
Two different failures get called "slug drift":
Collisions. Your importer writes set-up-sso for a vendor page, but a page with that slug already exists in the new system and is unrelated. Renaming the live article breaks links that already rank; keeping both means one of them has no URL.
Locale duplication. Zendesk returns one row per locale for the same article:
{ "id": 4711, "locale": "en-us", "title": "Set up SSO", "html_url": "https://x.zendesk.com/hc/en-us/articles/4711" } { "id": 4711, "locale": "de", "title": "SSO einrichten", "html_url": "https://x.zendesk.com/hc/de/articles/4711" } Import both and you have two articles, one of which is content your customer never published in that form. My rule: the first locale wins, and the preview reports how many locales were seen so the decision is visible instead of silent.
For collisions the rule is: a published slug is never renamed. The incoming item takes a -2 suffix and the source URL redirects to it. The redirect map is the thing that makes this survivable — every source URL that could not keep its slug gets an entry, and that entry is served as a 301 on the new host rather than handed to you as a CSV to forget.
Two guards are worth copying into any migration tool you evaluate:
- never write a redirect for
/(a home-page 301 takes over the customer's front page), and - reserve the application's own routes —
/search,/a/…,/c/…,/sitemap.xml,/robots.txt,/media/…,/embed,/api/— so an import cannot map over them.
The check, run against the live host after cutover:
#!/usr/bin/env bash # verify old URLs answer 301 to the right target, not 302, not a soft 404 while IFS=, read -r from to; do code=$(curl -s -o /dev/null -w "%{http_code}" "https://help.example.com$from") loc=$(curl -s -o /dev/null -w "%{redirect_url}" "https://help.example.com$from") printf "%s %s -> %s (map says %s)\n" "$code" "$from" "$loc" "https://help.example.com$to" done < redirects.csv Run it on ten rows before you announce anything. 200 where you expected 301 means a redirect is being shadowed by a real page.
Trap 4: drafts, locales and metadata do not survive a naive copy
Every vendor marks unpublished content differently, and none of them put it where you expect:
| Source | Unpublished marker |
|---|---|
| Zendesk | "draft": true |
| Intercom | "state": "draft" |
| Helpjuice / HelpDocs | per-article visibility fields |
If your importer publishes everything it reads, you publish a customer's unreleased page — possibly an article about a feature that has not shipped. I skip drafts and count them in the preview, with the source named, because "17 skipped" without a reason is a support ticket six weeks later.
Metadata has the same trap on a smaller scale. Titles arrive with non-breaking spaces and doubled whitespace, dates arrive as vendor timestamps rather than your own clock, and a title longer than your column limit either truncates silently or fails the insert. Normalise whitespace, cap the title, and keep the vendor's updated_at somewhere so a re-import does not look like a human edit.
The check: after import, compare the published count in the source tool against the imported count plus the skipped count. If the two numbers do not add up, a filter is dropping articles without telling you.
Trap 5: the cutover is the part you cannot undo
The DNS and TLS step is where a migration becomes visible to readers, and it is the only step with no rollback that fits in a lunch break.
Sequence that works:
- Import on a staging hostname and read the preview. Not a spreadsheet of counts — the actual staged articles.
- Bind the domain and wait for the certificate to be active. A site is
noindexbefore that; a migration that goes live while stillnoindexloses weeks of indexing. - Verify redirects on the live host (the loop in Trap 3).
- Spot-check search. Five queries your readers actually use. A migration where search returns nothing is a migration that failed, even if every article imported.
- Keep the old tool read-only for a week. Not deleted — read-only. The first week of traffic is your real test suite.
# what you want to see for each step curl -sI https://help.example.com/ | head -1 # 200 curl -sI https://help.example.com/robots.txt | grep -i content-type curl -s https://help.example.com/robots.txt # no Disallow: / at cutover curl -sI "https://help.example.com/old/path" | grep -iE "^(HTTP|location)" curl -s https://help.example.com/sitemap.xml | grep -c "<loc>" One more property worth insisting on: the commit should be reversible. Mine is, for one hour — long enough to notice the wrong job was committed, short enough that nobody builds a workflow on it. Undo deletes what the import created and restores what it updated from a "before import" snapshot, and it refuses to touch an article a human edited afterwards.
What still is not solved
Two honest gaps, since a migration post that claims completeness is a red flag:
- Interrupted connector jobs re-prompt for the key. Keys live in memory only, so a job that dies mid-run cannot resume with the old one. The staged preview is durable; the key is not.
- Crawling a large site stops at 50 pages and has no "continue from here". A second crawl skips what is already mapped, so it is idempotent, but not incremental.
And one the vendors own: their APIs change shape. Pin a version header where the vendor offers one (Intercom does), and accept both paging envelopes, because you will need both.
I build HelpFerry, so read the above as a description of the importer I had to write, not as neutral advice. The migration flow is written up at helpferry.com/migration, the source-by-source detail for Helpjuice and HelpDocs is in the comparison pages, and pricing (Free / $29 / $49, unlimited seats) is public at helpferry.com/pricing. The importer runs on the Free plan, so the check in Trap 1 is something you can run on your own content before paying anyone. The docs repo is public at github.com/gowinder/helpferry-docs.