Contentful 至 Sanity 遷移
您的 Contentful 帳單在達到產品市場契合度前已三倍增長
Why leave Contentful?
- Paying $489/month jumps to undisclosed enterprise rates with no warning
- Editing the admin UI requires enterprise tier or custom React workarounds
- Fetching a post with related content burns three separate API calls
- Adding a staging environment or temporary user doubles your monthly bill
- Parsing Contentful's rich text AST requires custom renderers for every frontend
- Real-time collaboration locks behind higher pricing tiers your team can't justify
What you gain
- Your first three editors and 500K monthly API requests cost nothing
- GROQ queries return posts, authors, and images in one call with your exact field structure
- Sanity Studio ships as a React app you rebuild to match your editorial workflow
- Your content team edits the same document simultaneously on the free tier
- Portable Text serializes to HTML, React, or Vue without AST archaeology
- Your CMS bill scales with actual usage, not arbitrary seat and environment taxes
Contentful 定價問題
Contentful 的定價模式按空間、環境和用戶數收費。隨著您的內容運營規模擴大,成本以非線性方式增長。從 Contentful 免費層開始的團隊發現自己在 $489/月的計畫上 — 然後發現下一層是沒有公開價格的企業定價。
為什麼團隊轉向 Sanity
Sanity 的免費層比 Contentful 的寬鬆得多。但定價並不是團隊轉換的唯一原因。GROQ(Sanity 的查詢語言)比 Contentful 的 Content Delivery API 更強大且靈活。實時協作編輯已內建。Sanity Studio 是一個完全可自訂的 React 應用程式 — 而不是具有有限擴展點的固定管理 UI。
遷移過程
Contentful 內容通過其 Management API 可以乾淨地匯出。我編寫遷移指令碼,將 Contentful 內容類型轉換為 Sanity schema,並遷移所有條目、資產和關係。前端會更新以查詢 Sanity 而不是 Contentful — 通常由於 GROQ,查詢會大幅簡化。
The migration process
Discovery & Audit
We map every page, post, media file, redirect, and plugin. Nothing gets missed.
Architecture Plan
New stack designed for your content structure, SEO requirements, and performance targets.
Staged Migration
Content migrated in batches. Each batch verified before the next begins.
SEO Preservation
301 redirects, canonical tags, sitemap, robots.txt — every ranking signal carried over.
Launch & Monitor
DNS cutover with zero downtime. 30-day monitoring period included.
Contentful vs Sanity
| Metric | Contentful | Sanity |
|---|---|---|
| Free tier | Limited entries + types | Generous (500K API calls) |
| Query language | REST API (multiple calls) | GROQ (single query) |
| Admin customisation | Limited extensions | Full React app (Sanity Studio) |
| Collaborative editing | Paid tier only | Built in (all plans) |
| Rich text format | Complex AST | Portable Text (cleaner) |
| Pricing model | Non-linear scaling | Predictable, linear |
Common questions
為什麼團隊正在離開 Contentful?
三個原因:非線性擴展定價(免費層至 $489/月,企業級有大幅跳躍)、固定管理 UI 限制自訂,以及查詢 API 需要多次呼叫才能獲取相關內容。Sanity 解決了所有三個問題。
從 Contentful 遷移至 Sanity 的複雜度有多高?
Contentful 具有出色的匯出工具(Management API)。內容類型乾淨地對應到 Sanity schema。條目和資產通過自訂指令碼遷移,保留所有關係。典型遷移耗時 3-5 週,包括前端查詢更新。
我的編輯人員需要重新培訓嗎?
Sanity Studio 的介面與 Contentful 不同,但大多數編輯在幾天內就會喜歡它。編輯體驗更直觀 — 特別是對於具有嵌套元件的結構化內容。我提供文件和逐步說明課程。
GROQ 與 Contentful 的 API 相比如何?
GROQ 在單一查詢中精確獲取您需要的資料 — 包括嵌套參考和計算欄位。Contentful 的 API 經常需要多次呼叫和用戶端資料組裝。使用 GROQ,前端程式碼變得更簡單且更快。
Contentful webhook 和整合怎麼辦?
Sanity 支援所有內容事件的 webhook。現有整合(Vercel 重新構建觸發、Slack 通知等)會重新配置為使用 Sanity webhook。功能會以最少的努力保留。
Sanity 的免費層真的比 Contentful 的更好嗎?
Sanity 的免費層包括 3 個非管理員用戶、500K API 請求/月和 20GB 頻寬。Contentful 的免費層限制您最多 5 個用戶,1M API 呼叫,但內容類型和條目限制激進。對於大多數中小型團隊,Sanity 的免費層更可用。
Ready to migrate?
Free assessment. We'll audit your current site and give you a clear migration plan — no commitment.
Let's build
something together.
Whether it's a migration, a new build, or an SEO challenge — the Social Animal team would love to hear from you.