Skip to main content
Website & Hosting

How to Migrate from WordPress to Ghost CMS in 2026: Step-by-Step SEO Guide

Alex MorganAlex MorganSeptember 16, 20266 min read

Disclosure: Some links in this article are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you. This does not influence our editorial recommendations - we only recommend products and services we genuinely believe in. Read our full affiliate disclosure.

How to Migrate from WordPress to Ghost CMS in 2026: Step-by-Step SEO Guide – featured image

For two decades, WordPress has powered the independent web. However, as blogs grow into media publications with thousands of articles and growing email newsletters, many founders find themselves exhausted by the WordPress maintenance treadmill: constant plugin updates, security vulnerabilities, database bloat, slow page load times, and expensive monthly fees for third-party membership plugins.

Ghost CMS has emerged as the modern alternative for serious digital publishers. Built on a clean Node.js architecture with native newsletters, member paywalls, and built-in technical SEO, Ghost delivers a lightweight, lightning-fast publishing experience out of the box.

The single greatest fear preventing publishers from switching is SEO destruction: the terror that migrating platforms will break URLs, ruin Core Web Vitals, disconnect backlinks, and wipe out years of hard-won Google organic search traffic.

When executed methodically, migrating from WordPress to Ghost CMS can actually increase your organic traffic by boosting your Google PageSpeed scores from 65 to 98+.

This comprehensive step-by-step guide walks you through migrating your entire WordPress blog to Ghost CMS in 2026 without losing a single ranking, backlink, or subscriber.


The Migration Architecture & Pre-Flight Checklist


Step 1: Export Content from WordPress

The Ghost developer team maintains an official, free WordPress plugin designed specifically to handle content extraction:

  1. Log into your WordPress administrative dashboard (/wp-admin).
  2. Navigate to PluginsAdd New and search for "Ghost" (by the Ghost Foundation).
  3. Install and activate the plugin.
  4. Go to ToolsExport to Ghost in your WordPress sidebar.
  5. Click "Download Ghost File".

The plugin automatically parses your WordPress database, converting posts, static pages, categories (which become Ghost tags), author profiles, and markdown formatting into a single, standardized Ghost JSON file.


Step 2: Import Your Content into Ghost CMS

Whether you are using managed Ghost(Pro) or self-hosting Ghost on a $5/month VPS:

  1. Log into your Ghost Admin portal (/ghost).
  2. Navigate to Settings (gear icon) → Labs (or Advanced depending on version).
  3. Locate the "Migration options" card and click "Import content".
  4. Choose the JSON file exported from WordPress in Step 1 and click Import.
  5. Ghost will process the import, displaying a real-time progress bar. Within minutes, all of your articles, dates, and authors will appear in your Ghost editor dashboard.

This is the most critical step in the migration process. If your WordPress post URL was: https://yoursite.com/2025/11/how-to-code and your Ghost post imports as: https://yoursite.com/how-to-code any visitor or search engine crawler following the old URL will encounter a 404 Not Found error, destroying your Google rankings.

If your WordPress site used a custom permalink structure, you can match it directly in Ghost by editing your routes.yaml file (found under SettingsLabsRoutes):

If you want to modernize your URL structure to clean slugs (/post-slug/) while preserving 100% of your link equity, upload a 301 redirect mapping file:

Create a file named redirects.yaml:

Upload this file to Ghost Admin under SettingsLabsRedirects.

Now, whenever a user or Googlebot visits an old dated URL or legacy category archive, Ghost returns an instantaneous HTTP 301 Moved Permanently response, transferring 100% of the PageRank to the new URL.


Step 4: Transferring Image Assets

While the Ghost export references your old WordPress image paths, you want all media hosted locally on your new Ghost server to avoid external dependencies.

If you have SSH access to your server:

  1. Locate your WordPress uploads folder: /wp-content/uploads/
  2. Compress the directory into a tarball:
  1. Transfer the archive to your Ghost server and extract it into Ghost's content directory:
  1. Run a simple database string replacement or let Ghost serve images directly from your S3 or Cloudflare CDN bucket.

Step 5: Configuring Mailgun for Free Newsletter Delivery

One of Ghost’s crowning features is native newsletter broadcasting. Self-hosted Ghost utilizes Mailgun to dispatch emails:

  1. Create a free account at mailgun.com.
  2. Add your custom sending domain (e.g., mg.yourdomain.com).
  3. Add the required SPF, DKIM, and MX records to your DNS provider (Cloudflare or Namecheap).
  4. Copy your Mailgun API Key and API Base URL.
  5. In Ghost Admin, navigate to SettingsEmail newsletterMailgun configuration and paste your credentials.

Step 6: DNS Switch & Google Search Console Verification

  1. Update DNS Records: Point your domain’s A and CNAME records to your new Ghost IP address. Ensure your TTL is set low (e.g., 300 seconds) prior to the switch.
  2. Verify Automatic SSL: Ghost automatically provisions a free Let's Encrypt SSL certificate once DNS propagates.
  3. Submit Sitemaps: Open Google Search Console, navigate to Sitemaps, and submit your new sitemap URL:

https://yoursite.com/sitemap.xml

  1. Live URL Inspection: Test 5 of your highest-traffic URLs in Google Search Console's URL Inspection tool to confirm they return an HTTP 200 (or clean 301 redirect) and render without errors.

Post-Migration Results: What to Expect

Within 7 to 14 days of completing the migration:

  • Core Web Vitals: Your mobile PageSpeed scores will jump from 50–70 up to 95–100.
  • Crawl Efficiency: Googlebot will crawl your pages twice as fast due to Ghost’s streamlined JSON-LD schema and lightweight HTML payloads.
  • Organic Growth: With technical friction eliminated and page load latency reduced to sub-second speeds, bounce rates drop and average time on page increases - leading to measurable ranking improvements across your entire keyword catalog.
#WordPress to Ghost migration#Ghost CMS#301 redirects SEO#blog migration#web hosting 2026#Content Management System
Alex Morgan - Founder & Lead Editor
Alex Morgan·Founder & Lead Editor

Alex Morgan is the founder and lead editor of RemoGrid. With over six years of hands-on experience in remote operations, cross-border freelance workflows, and AI tool benchmarking, Alex independently tests and audits software platforms to help modern digital workers build sustainable online income streams. He regularly reviews international payment systems (Wise, Stripe, Payoneer, local mobile wallets) and conducts real-world usability benchmarks across AI productivity tools.

Related Articles