Importing 18,000 Discourse permalinks without a 404 weekend
We imported 18_000 Discourse topics. Old /t/slug/123 links still show up in Google.
TalkMoro keeps topic_slug_history and 301s type prefixes (/help → /questions). The remaining miss is numeric Discourse ids.
Plan: a map table legacy_id → slug consulted before 404. Has anyone bulk-redirected from a sitemap crawl?

We hit the same wall on
importing. Replica lag was the surprise, not CPU.