Migrating From WordPress to Contentstack: A Practical Plan

Migration is a chance to fix your content model

Many companies outgrow WordPress — plugin sprawl, security patching, performance, and the need for omnichannel content. Migrating to Contentstack is a great opportunity, if done deliberately.

Step 1: Audit

  • Count posts, pages, custom post types, and media
  • Identify what's still valuable (traffic, conversions)
  • Archive or drop outdated content — don't migrate everything

Step 2: Model Content

WordPress stores most content as HTML in one field. Design structured content types:

  • Blog post: title, summary, author (reference), category (taxonomy), body (JSON RTE), SEO (global field)
  • Landing pages: modular blocks instead of page-builder shortcodes

Step 3: Export

Use the WordPress REST API to export:

GET /wp-json/wp/v2/posts?per_page=100&page=1

Also export authors, categories, tags, and media metadata.

Step 4: Transform

  • Convert HTML to JSON RTE (Contentstack provides utilities)
  • Replace shortcodes with structured blocks or embedded entries
  • Map categories to taxonomy terms
  • Rewrite internal links to new URLs

Step 5: Import

Use the CLI or Management API to create entries and upload assets, preserving original publish dates where needed.

Step 6: Preserve SEO

  • Keep URLs where possible
  • Create 301 redirects for every changed URL
  • Migrate meta titles, descriptions, and canonical tags
  • Submit the new sitemap and monitor Search Console

Step 7: Launch

  • Content freeze, final delta migration, DNS switch
  • Monitor 404s and traffic closely for a few weeks

A migration that only moves HTML from one database to another misses the point. Restructure content so the new platform can deliver its full value.

Arivanandhan Chitheshwaran