Skip to content




Thinking of jumping ship from WordPress?

Thinking of jumping ship from WordPress?

Ahoy, me hearties! Looking to jump ship from WordPress while the going's not so good, worried what the uncharted waters look like? Let's set your sail straight.


Right, I'm not going to address the elephant in the room. There's been a lot of drama, and I don't want to get dragged into it. I do want to give my opinions on WordPress after being a developer for over 10 years, a good few of which were spent working with WordPress.

What is WordPress?

A lot of you are probably on WordPress right now. It's the most popular CMS in the world, and supposedly makes up over 40% of all websites. I don't know if that's true, but it's probably close.

To be fair to WordPress, it was a very good tool compared to what was around when I started. From my perspective, it was far better than Joomla, Drupal, and even Typo3.

Still, not many people drive a horse and carriage anymore. That said, it can still be the right call for a small site: our WordPress rebuild for St Mary's Church in Nottingham has run on the same setup since 2018, and parish staff edit it themselves.

Why consider a change?

Before I get to my hot take on which route you should take, here's why you might want to look at alternatives to WordPress.

Plugins

Plugins are useful, but they're a big security risk. They're also the reason the one WordPress website we still maintain (a family friend's) just stopped working.

They're non-standard, they're not designed for a modern tech stack, and they're a maintenance nightmare. The moment you stop updating WordPress, your plugins will stop working, and the more plugins you have, the more likely you are to get this:

It's a WordPress Error, it's the one that always comes up when you change the theme and it all goes to hell

Security

Have you ever seen a website or hosting account that has been utterly hacked? We've only seen it once. Guess what it was running.

This week gave us a better example than our anecdote. PHP2Shell is two critical flaws in PHP itself, CVE-2026-109618 and CVE-2026-109619, both rated CVSS v4 9.2. They allow unauthenticated remote code execution on any PHP install that serves web requests, including mod_php, PHP-FPM, php-cgi, FrankenPHP and LiteSpeed, and the affected code goes back to PHP 5.4. Reports differ on whether attackers are using it yet.

The PHP project fixed both on October 21, 2026, the day they were disclosed, in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 7.4 to 8.1 get source backports only. PHP 5.4 to 7.3 get no fix at all.

WordPress itself isn't the bug, and WordPress.org says no WordPress update is planned. A bug in the PHP runtime exposes every PHP site at once, and nothing you do inside WordPress fixes it. Updating core and pruning plugins both miss it. The fix is your host updating PHP, so on this one your site's safety depends on how fast your host moves.

Does going headless remove this?

It doesn't if WordPress is still the backend. Headless WordPress still runs PHP, so it needed the same patch as any other WordPress install. Moving the frontend to Next.js doesn't change what runs your CMS.

If security is why you're looking at WordPress alternatives, ask one question of each option: does it run PHP on a server that you or your host have to patch? We recorded our take on PHP2Shell in Is WordPress safe after PHP2Shell?.

Loading video player…

No spam, only good stuff

Subscribe, for more hot takes

Only god knows why anybody would purposefully subscribe themselves to a newsletter that moans about development. These poor souls did though
Profile 1
Profile 2
Profile 3
Profile 4
Profile 5

What should I change to?

If you have a website that's under $10k, you're probably better off using something like Framer or Webflow. Above $10k, it's time to look at a tool like Sanity, Next.js and Vercel.

I'll cover Framer and Webflow quickly. They're basically the same drag and drop website builders, but Framer gives you a bit more control over the code, and from our testing it typically performs better. I recommend them under $10k because they're easy to use, you can get a website up and running quickly, and the result is pretty good for what you pay. They won't necessarily scale, but they're a good way to get something live fast.

With a bigger budget, Sanity is where I'd go. Here's why.

Key features

  1. Sanity is headless. It separates the content backend from the frontend, so you pick the frontend you want to use. That's much nicer than hacking plugins on top of WordPress to get it to do modern development. I'm looking at you, Timber.
  2. The content studio is customizable. You don't have to look at the regular WordPress dashboard, because you build your own editing environment around your team's needs, including a full editing flow where content gets signed off at every stage.
  3. Collaboration is real-time. You and a colleague can edit the same document at the same time and watch each other's cursors move around it.
  4. Sanity has its own query language, GROQ. If you're comparing query languages right now, this is the one I'd pick. It's essentially GraphQL, but better, and it scales well.
  5. Sanity keeps version history. We've broken our own website a number of times and been able to revert to a previous version. You shouldn't have to worry about making changes to key pages.
  6. Content modeling is flexible. The old "measure twice, cut once" advice applies to content models, so think about how you'll scale them, how you'll enrich them with other documents, and how you'll reuse the content.
  7. It's API-first. You access your content through APIs, which suits multi-channel publishing. A mobile app, email automation, or an RSS feed is an API call away from your tech stack.

There are a lot of buzzwords here. What does it actually mean?

As far as we're concerned, it's the best editorial experience on the web. You can drag and drop content and get near instant feedback. You can scale it, customize it, and make it do basically anything you want. But you have to build it right.

That's where the real work is, and you'll need a good team for it. Ask them these questions:

  1. Are you using the latest version of Sanity and Sanity Presentation?
  2. Are you using the latest version of Next.js and the app router?
  3. Are you using Tailwind CSS?
  4. Are you using TypeScript?

If any of these are no, run. If they're all yes, you're probably in a good place.

Why is a good team more important than ever?

WordPress is a monolithic framework and Sanity is a headless CMS. You can botch together a WordPress site with a few plugins and get something working. You can't do the same with Sanity and Next.js.

That isn't a bad thing, but it's worth knowing going in. The trade-off is that it's very resilient, and you can build and integrate basically anything you want. For perspective, we built a website when we first set up our business 7 years ago. It's fully functional, still scores in the late 80s to 90s on Lighthouse, and we've never had to touch it.

WordPress cheat sheet

Here's a quick reference for common WordPress features and their Sanity equivalents.

WordPressSanityNotes
Pages and postsDocumentsEverything is a document you can model however you want, with no rigid split between pages and posts.
Categories and tagsReferencesReference fields create relationships between documents. It's more flexible than WordPress's taxonomy system.
Featured imageImage fieldSame idea, with better image handling and built-in cropping and hotspot.
MenusDocument typeA dedicated document type for menus, with references to your pages.
WidgetsComponentsCustom components instead of widgets, with more control and better performance.
PluginsNPM packagesNPM packages and custom code instead of plugins.
Theme customizerStudio customizationCustom input components and validation in Sanity Studio.
Media libraryAsset managementA built-in CDN with image transformations and better organization.
User rolesCustom rolesMore granular control over permissions and roles.
CommentsNot built inBuild your own or use a third-party service like Disqus.
SEO (Yoast)Custom fieldsCreate your own SEO fields or use packages like sanity-plugin-seo-tools.
FormsExternal serviceUse Formspark, or build your own (just use Formspark).
SearchGROQ queriesBuild search with GROQ, or integrate a service like Algolia.
PermalinksSlugsGenerate and manage slugs with more control and better internationalization support.

Moving to a headless stack is a bigger shift than a one-to-one feature swap, but you get better performance and a better editing experience for it. If the site is mostly articles and landing pages, Astro is often the lighter frontend to land on. When you're ready, our post on how to migrate from WordPress to Sanity fast walks through the process step by step, and our CMS migration service covers it end to end if you'd rather hand it off. There's also a guide per platform if WordPress isn't the only system in the mix.

Headless CMS service. Platform selection, migration, and training for teams leaving WordPress.

Sanity Preferred agency partner

Frequently asked questions

Why should I consider leaving WordPress?
Our two main reasons are plugins and security. Plugins are non-standard, a maintenance nightmare and a security risk, and they stop working the moment you stop updating WordPress. The one utterly hacked site we have ever seen was running WordPress.
Does headless WordPress protect you from PHP flaws like PHP2Shell?
No. Headless WordPress still runs PHP, so it needed the same patch for PHP2Shell (CVE-2026-109618 and CVE-2026-109619, rated CVSS v4 9.2) as any other WordPress install. The PHP project released the fixes in 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, 2026, and the fix is your host updating to one of them. To take PHP out of the picture you have to replace WordPress as the backend, not just the frontend.
What should I move to from WordPress?
It depends on budget. For a website under $10k, we recommend Framer or Webflow: easy to use, quick to launch and good value, though they will not necessarily scale. Above $10k, look at Sanity with Next.js and Vercel.
Framer or Webflow for a smaller site?
Both are drag-and-drop builders and broadly the same, but we lean Framer: it gives a bit more control over the code and, from our testing, typically performs better.
What does Sanity offer that WordPress does not?
A headless architecture so you choose your frontend, a fully customizable content studio including sign-off workflows, real-time collaboration, the GROQ query language, versioning and history to revert broken pages, flexible content modeling, and an API-first approach for multi-channel publishing such as mobile apps, emails and RSS.
How do I know if an agency can build a Sanity site properly?
Ask four questions: are they on the latest Sanity and Sanity Presentation, the latest Next.js with the app router, Tailwind CSS, and TypeScript? Our advice is that if any answer is no, run. Unlike WordPress, you cannot botch together a Sanity and Next.js site with a few plugins, so the team matters more.
What are the Sanity equivalents of WordPress features?
Pages and posts become documents, categories and tags become references, the featured image becomes an image field with cropping and hotspot, menus become their own document type, plugins become NPM packages, the media library becomes built-in asset management with a CDN, permalinks become slugs, and search is built with GROQ or a service like Algolia. Comments are not built in, and forms use an external service like Formspark.
Is a headless site harder to maintain than WordPress?
We argue the opposite once it is built right. Our example is a site built when the business started 7 years ago that is still fully functional, still scores in the late 80s to 90s on Lighthouse, and has never needed touching.

About the authors

Jono Alford

Founder of Roboto Studio, specializing in headless CMS implementations with Sanity and Next.js. A Sanity Pioneer and first-cohort Sanity Community Ambassador, focused on editorial experiences that help teams ship faster.

Sne Tripathi
Sne Tripathi

Account Executive

Account Executive at Roboto Studio, bridging the gap between client needs and technical solutions. Ensures every project delivers real business value.

Hrithik Prasad

Tech Lead with expertise in React, Next.js, and Sanity CMS. Loves building performant web applications and sharing knowledge through technical content.



Related posts





Related videos





Get in touch

Tell us what you're building. We reply within one working day. Jono or someone on the team picks up every message personally.

By sending this you agree to our privacy policy. We only use your details to reply.