Eunus Hosen

Leaving WordPress After 13 Years: Why I Migrated to EmDash

After 13 years, ehosen.com is no longer powered by WordPress.

If you look at the earliest articles on this site from 2013, they were literally tutorials on setting up a LEMP stack on Debian Wheezy and installing WordPress with Nginx. Back then, spinning up a VPS and running WordPress was the standard way to put a personal site on the internet.

Over the years, the frontend evolved. I eventually moved the frontend over to Next.js, keeping WordPress around as a headless CMS. That worked fine, except for one glaring problem: I don't publish here regularly. Maintaining a dedicated server, keeping PHP and MySQL patched, and paying a monthly VPS bill just to host a headless CMS for a personal site I update occasionally stopped making sense.

Recently, I migrated the entire site to EmDash — an open-source CMS built by Cloudflare that they describe as the "spiritual successor to WordPress."

What is EmDash?

EmDash is a full-stack, TypeScript-native CMS built directly on top of Astro. Instead of running your CMS as a separate backend service or managing a legacy PHP monolith, EmDash integrates directly into your Astro project and runs at the edge on Cloudflare Workers (with D1 for SQLite storage and R2 for media), or on any Node.js server if you prefer self-hosting.

Because I already use the Cloudflare stack across almost all my projects — Workers, D1, R2, KV, Durable Objects, Queues — moving my personal site onto the same serverless infrastructure felt like an obvious move. With Workers, the site scales to zero when nobody is reading it, and I am not paying for an idle server 24/7 just to serve a handful of articles.

How EmDash Compares to WordPress

Having spent over a decade around WordPress, a few architectural differences immediately stand out:

Area

WordPress

EmDash

Runtime & Hosting

Always-on PHP + MySQL server; requires ongoing OS, PHP, and database maintenance.

Serverless TypeScript on Astro & Cloudflare Workers (D1 + R2); scales to zero.

Plugin Security

Plugins execute with full access to your database, filesystem, and environment.

Plugins run in isolated Worker sandboxes with explicit, scoped capability manifests.

Content Format

Stores rich text as HTML mixed with block comment metadata tied to the DOM.

Stores structured Portable Text (JSON), keeping content cleanly decoupled from presentation.

Authentication

Password-based login by default (often requiring extra hardening or 2FA plugins).

Passkey-first (WebAuthn) out of the box, with OAuth and magic link support.

AI & Agent Workflows

Retrofitted via third-party plugins or custom REST API wrappers.

Built-in MCP (Model Context Protocol) server, CLI, and Agent Skills out of the box.

A Few Things I Really Like So Far

  • Sandboxed Plugins: Anyone who has managed WordPress sites knows that third-party plugins are the biggest security headache. EmDash runs plugins inside isolated Worker sandboxes where each plugin only gets the exact permissions declared in its manifest. A plugin that only needs to read posts cannot touch your database tables or environment variables.
  • No Separate Headless Glue: When I ran Next.js with headless WordPress, I had two separate systems to deploy, sync, and maintain. With EmDash, the CMS admin (/_emdash/admin), typed schemas, and Astro frontend live in a single unified project.
  • Built-in MCP Server: Every EmDash site exposes its own Model Context Protocol server. Since Claude Code and VS Code are already my daily tools, being able to draft, edit, and manage site content directly through an AI client using the exact same permissions as the admin UI is genuinely useful — in fact, this very post was drafted and saved straight into EmDash via MCP.
  • Clean Migration Path: EmDash ships with a WordPress importer that brings over posts, pages, media, and taxonomies without forcing you to rebuild everything from scratch.

Wrapping Up

WordPress had an incredible run on this domain for 13 years, and for massive content operations with complex editorial workflows, it still has an unmatched ecosystem.

But for a personal developer site that doesn't get updated every week, paying for an always-on server just to keep a headless CMS alive was unnecessary overhead. Moving to EmDash gave me a fast Astro frontend, zero idle server costs on Cloudflare, and a modern TypeScript stack I actually enjoy working with. So far, I'm really happy with the switch.