Black Friday Sale is Live: Get up to 30% OFF RankReady Pro - the WordPress AI SEO pluginBlack Friday Sale is Live: Up to 30% OFF Get Deal
Free plugin GPL-2.0-or-later, no Hatch account

The easiest way to headless Astro, with the WordPress you already know.

Hatch is a free WordPress plugin. It deploys an Astro frontend to a Cloudflare Worker in your own account and reads your content over a REST API. You keep writing in WordPress with the block editor.

You write in WordPress

Same block editor, same plugins, same team.

WordPress block editor
PublishPublished

Hatch ships the frontend

One Cloudflare API token. The Astro frontend lands in your own Cloudflare account.

What Hatch is.

A WordPress plugin with three parts. You install it, paste one Cloudflare API token, and your site is served by an Astro frontend instead of PHP.

01

The plugin

Installs in wp-admin. Holds the Cloudflare connection, the deploy button, the security switches and the redirect from raw WordPress URLs to the new frontend. GPL-2.0-or-later.

wp-content/plugins/hatch-connect
02

The REST bridge

A read API at hatch/v1. The frontend asks it for posts, pages, menus and your SEO plugin meta. WordPress still holds all of it.

GET /wp-json/hatch/v1/…
03

The Astro frontend

Rendered on a Cloudflare Worker in your own account, with an edge cache in front. Pick a starter: Editorial, Terminal or Docs. It is plain code you can edit.

Astro · Cloudflare Workers
GPL
Free and open source. GPL-2.0-or-later.
3
Starter designs: Editorial, Terminal and Docs.
0
JavaScript frameworks shipped to visitors.
1
API token, encrypted and never shown again.

WordPress stays. The PHP delivery layer goes.

Headless means the system you write in and the system that serves visitors are two different things. Your content, editor and plugins stay in WordPress. Only the part that builds each page changes.

Today

Classic WordPress

  1. Visitor asks for a page
  2. PHP boots WordPress and loads the theme
  3. Every active plugin runs
  4. MySQL answers the same queries again
  5. PHP assembles the HTML
  • Each request reaches PHP and the database unless a cache answers first
  • Plugins load whether this page needs them or not
  • Login, XML-RPC and the user list sit on the public server
  • Caching depends on plugins stacked on top
With Hatch

WordPress + Hatch

  1. Visitor asks for a page
  2. Cloudflare serves the cached Astro page
  3. If the cache is stale, the Worker calls hatch/v1
  4. WordPress answers once and the result is cached
  • Pages come from Cloudflare: 60 seconds fresh, then up to an hour stale while it refreshes
  • WordPress is asked only when the cache is stale
  • You keep the block editor, your plugins and your media library
  • Security switches close XML-RPC, hide the user list and limit logins

Why WordPress stays

Your team already knows the editor. Rank Math or Yoast, Fluent Forms, WooCommerce and ACF keep doing their jobs. Nothing is migrated, so there is no content model to rebuild.

Why Astro as the frontend

Astro renders HTML on the server and ships no JavaScript framework to visitors unless a component asks for it. The starters are plain files, so a developer or an AI can restyle them while the content stays in WordPress.

Why Astro?

Get the best of Astro while still managing your content with the WordPress you already know and love.

You keep writing in WordPress with the block editor. Your readers see the Astro visitor site, which Hatch builds from your WordPress content.

New posts appear shortly after you publish them. By default, each page is saved for one minute. After that, a visitor can still see the saved copy for up to an hour while Hatch refreshes it in the background.

WordPress sites that pass Core Web Vitals on mobile
WordPress45%

Core Web Vitals are Google's scores for speed and stability, measured on real visitors' devices. In the HTTP Archive Web Almanac 2025, WordPress sites had a 45% pass rate on mobile. The same chapter says self-hosted CMSs show much wider variance, influenced by themes, plugins and third-party integrations.

Source: HTTP Archive Web Almanac 2025, CMS chapter (published 2026-01-15)

We do not have a sourced Astro pass rate yet, so this shows the WordPress baseline only.

How it works

Three parts, and none of them is a Hatch server.

WordPress exposes your content. An Astro frontend renders it. Cloudflare serves it from your own account.

The REST bridge
/hatch/v1/content ...ok
/hatch/v1/menus ...ok
/hatch/v1/seo-head ...ok

WordPress exposes your content

Hatch adds a hatch/v1 REST namespace that carries posts, pages, menus, search data, custom post types and block output. The frontend reads through a Subscriber account you create, never your admin login.

The frontend
EditorialTerminalDocs

Astro renders it as native components

A modern Astro frontend turns that data into a modern site. Pick Editorial, Terminal or Docs. No WordPress plugin CSS or JavaScript ships to the visitor.

A visit
A visitor opens your site
your Cloudflare Workeranswers
PHP and the databasenot involved
yourdomain.comserved

Cloudflare serves it from your account

The Worker is uploaded to your own Cloudflare account. A visit is answered by Cloudflare, and WordPress is only asked again when you publish or refresh.

Pick a design. Skip the blank page.

Three ready-made designs: Editorial for blogs, Terminal for technical sites, Docs for help centres.

The Editorial starter home page, showing the Host My Blog site

Editorial

For blogs and publications. Blog index, categories, tags and author pages.

View live demo
The Terminal starter home page, showing the Host My Blog site

Terminal

For developer and technical sites. The same content with a command-line feel.

View live demo
The Docs starter home page, showing the Host My Blog site

Docs

For documentation and help centres. A sidebar keeps every page one click away.

View live demo

Available blocks

Hatch supports 36 WordPress core blocks on the Astro visitor site. Write with the block editor as you do now. The visitor site shows each supported block with Hatch's styles.

Text 8

  • paragraph
  • heading
  • list
  • quote
  • pullquote
  • code
  • preformatted
  • verse

Media 6

  • image
  • gallery
  • video
  • audio
  • cover
  • embed

Layout 7

  • columns
  • column
  • group
  • separator
  • spacer
  • table
  • details

Buttons 2

  • button
  • buttons

File 1

  • file

Post blocks 7

  • post template
  • post title
  • post excerpt
  • post date
  • post featured image
  • post author
  • post content

Widgets 5

  • latest posts
  • categories
  • tag cloud
  • RSS
  • search

Blocks outside this list: Hatch does not style them. The visitor site shows their saved HTML as WordPress stored it, without Hatch styles. Query Loop is not on the list, so check those pages on the visitor site before you switch.

Block limit (optional): A setting limits the editor to the supported blocks. It is off by default.

Your visitor site is hosted on Cloudflare. Your WordPress stays hidden from visitors.

Visitors read pages from the Astro visitor site. If someone opens a public WordPress post or page address, Hatch sends them to the same path on the visitor site.

Hatch does not firewall your WordPress. Login, the admin area, the REST API, feeds, sitemaps and previews are not redirected, so those addresses still answer on your server. The security switches are separate. Each one blocks or changes one specific thing, listed below.

Browser

Cloudflare

Visitors read pages from the Astro visitor site.

WordPress

Login, the admin area, the REST API, feeds, sitemaps and previews still answer on your server.

  • Close XML-RPC
  • Hide usernames
  • Lock out repeated wrong passwords
  • Security headers
  • Hide the WordPress version
  • Turn off folder listings
  • Turnstile on login and comments
Close XML-RPC
Turns off XML-RPC, an older remote access endpoint. Requests to /xmlrpc.php are refused with a 403 response.
Hide usernames
Anonymous requests to the REST user list get an error instead of account names.
Lock out repeated wrong passwords
After a set number of wrong passwords, the sign-in address is blocked for a set time.
Security headers
Sends extra browser safety instructions with each response.
Hide the WordPress version
Removes the WordPress version from page source and file links.
Turn off folder listings
A request for a bare upload folder, with no file name, gets a 403 response.
Lock the REST API
Signed-out visitors cannot read WordPress data directly; the routes your frontend needs stay open.
Turnstile on login and comments
Optional. Turnstile is a Cloudflare check that separates people from bots. It needs your own Cloudflare keys.

Fortress Mode is one master switch. It turns on seven switches at once: XML-RPC, usernames, code editors and updates, changes without an Application Password, security headers, the WordPress version and folder listings.

What is inside the plugin.

The plugin handles the connection, reads the plugins you already use, locks WordPress down and ships a frontend you can start from.

Runs in your Cloudflare account

The Worker is uploaded to your account with one API token. The free Cloudflare plan includes Workers, and Hatch itself has no fees.

A read-only user for the frontend

The frontend reads your content through a Subscriber account with an Application Password that you create, not an admin account.

Refreshes when you publish

Publish or update a post in WordPress and Hatch refreshes the frontend. You can also refresh the cache by hand.

A connection check you can read

One screen shows whether WordPress, the REST bridge and your Cloudflare deployment are talking to each other.

Switches to kill WordPress bloat

Turn off emoji scripts, embeds, XML-RPC, head clutter, block CSS, jQuery Migrate, the public user list, self-pingbacks and feeds.

One button undoes it

Not sure? Press Disconnect in the Connection tab. The Worker stays in Cloudflare until you delete it there.

Getting started

Create a token, paste it, press Deploy.

Nothing on your site or in your Cloudflare account changes until you press Deploy. Disconnect undoes it.

Create a Cloudflare token

In your Cloudflare dashboard, create an API token with the permission Account, Workers Scripts, Edit. A custom domain also needs Zone Read and Workers Routes Edit.

Paste it into Hatch

Open the Connection tab, paste the token and choose a workers.dev address or your own domain. Tick the consent box that lists the changes.

Press Deploy

Hatch uploads the frontend to your Cloudflare account. From then on, publishing in WordPress refreshes the site automatically.

yourdomain.com/wp-admin/hatch
AccountWorkers ScriptsEdit
PermissionAccount → Workers Scripts → Edit
Create tokenToken created

Created in your Cloudflare dashboard.

API token••••••••••••••
workers.devYour own domain
I understand what Deploy will change

The token is encrypted and never shown again.

Deploy
Connected

Then keep writing. Publishing refreshes the site.

Illustration of the three steps. Exact screens may differ.

Deploy

Where Hatch can deploy.

Version one deploys to Cloudflare from the plugin screen. Netlify, Vercel and Spacefast are planned, no date.

Cloudflare

Hatch uploads the frontend to your own Cloudflare account as a Worker. This is the deploy in version one.

In version one

Netlify

The same frontend, deployed to your Netlify account.

Coming soon

Vercel

The same frontend, deployed to your Vercel account.

Coming soon

Spacefast

The same frontend, published to Spacefast.

Coming soon

It reads the plugins you already run.

Your plugins stay installed and keep working in WordPress. Hatch bridges each category to the frontend.

SEO

Your SEO plugin’s meta tags and schema are passed to the frontend. Redirects set in Rank Math or Redirection are read too.

Rank MathYoast SEORedirection

Forms

Forms stay in WordPress. The frontend shows the form and sends each submission back to WordPress. Cloudflare Turnstile is optional.

Fluent FormsWPFormsContact Form 7Gravity Forms

E-commerce

Products, variations, categories and featured items come through hatch/v1. Guests can look up an order with its key. Stripe and PayPal fields appear at checkout when you switch them on in your WooCommerce settings.

WooCommerceStripePayPal

Comments and sign-in

Approved comments are listed on the frontend, and new ones go through normal WordPress moderation. Sign-in uses a 24-hour JWT with a per-IP rate limit and a honeypot.

WordPress commentsLogin and registerTurnstile, optional

Custom fields

These plugins ship their own REST support. Hatch checks that your field groups and custom post types are not hidden from it, and warns you if they are.

ACFSecure Custom FieldsMeta BoxPods

AI and LLM SEO

Our own plugin. Hatch reads RankReady’s headless settings, so /llms.txt and /.well-known/mcp.json are served by the frontend and its summary and FAQ schema reach your pages.

RankReady
Core WordPress, always onNo plugin needed.
PostsPagesMenusSearch dataCustom post typesBlock output

This list grows with the plugin. A plugin appears here once Hatch has a bridge for it.

Why not Sanity, Contentful or your own CMS?

They are real answers when you start fresh. If your content already lives in WordPress, you would be paying to rebuild what you have.

Keep

What you keep with WordPress

  • The block editor your team uses
  • Your SEO plugin and its meta
  • Forms, comments and logins
  • Media library, users and roles
Add

What Hatch adds on top

  • An Astro frontend served from Cloudflare
  • One-click deploy from wp-admin
  • The hatch/v1 REST bridge
  • Security switches on WordPress itself
Stop

What you stop paying

  • A second CMS subscription
  • Time spent building a content model
  • Migrating every existing post
  • Hatch itself has no fees
Hatch vs Others

The headless WordPress landscape. Why Hatch wins for most sites.

Every major headless WordPress approach has a deal-breaker for real teams. Here is the honest picture.

What you needhatchFaust.jsNext.js + WPGraphQLGatsby + WP
Set up from WP adminYesNoNoNo
Publish in wp-admin, live without a rebuildYes. Server-rendered behind an edge cache: 60 seconds fresh, up to an hour stale while it refreshesISRISR or SSRNo. Static rebuild of the whole site
Gutenberg blocks reach the frontendYes. Block output over RESTPartialDeveloper workDeveloper work
ACF or Meta Box fieldsYes, over REST. Hatch warns if a field group is hidden from itVia WPGraphQLVia WPGraphQLVia WPGraphQL
Starter designs included3: Editorial, Terminal, DocsNone. You build the UINone. You build the UINone. You build the UI
No WPGraphQL plugin requiredYes. REST onlyRequiredRequiredRequired
Security hardening built inYes. Closes XML-RPC, hides the user list, limits loginsDIYDIYDIY
Where the frontend runsCloudflare Workers today. Netlify, Vercel and Spacefast are planned, no dateWP Engine focusVercel or a Node host you runA static host you choose
Who sets it upYou, from wp-adminA developerA developerA developer
CostFree and open source. The free Cloudflare plan includes WorkersFree software, plus hosting and developer timeFree software, plus hosting and developer timeFree software, plus hosting and developer time

Frontity is excluded: the project was archived in February 2025. Faust.js details come from faustjs.org. ISR is Incremental Static Regeneration, which rebuilds on a schedule rather than on publish. Compared on 27 October 2026; check each project before you decide.

Zero GraphQL dependency

The other headless WordPress approaches need the WPGraphQL plugin. Hatch reads the native REST API, so there is less to install and less to keep updated.

Publish in WordPress, no build queue

Static-site tools rebuild the site when you publish. Hatch renders on request behind an edge cache, so there is no build to wait for.

Designs to start from

Faust.js and a custom Next.js stack ship with no UI. Hatch includes three Astro starters (Editorial, Terminal and Docs) that you can edit as plain code.

Set up from wp-admin

Paste one Cloudflare token and press Deploy. A consent box lists every change before anything happens. The other stacks start with a developer and a data layer.

A REST API first, a plugin second.

Everything the Astro starters use is a plain hatch/v1 REST endpoint. Build your own frontend on it if you prefer.

One REST namespace

Posts, pages, menus, search data, custom post types and block output, all over hatch/v1. It works with any frontend.

Read-only by design

You create a Subscriber account and an Application Password in WordPress. Hatch refuses any account that can edit other people's posts or manage the site. Your admin login is never used.

Token auth with brakes on

The auth endpoint issues a JWT valid for 24 hours, with a per-IP rate limit and a honeypot.

GET /hatch/v1/features GET /hatch/v1/content?slug= GET /hatch/v1/menus/{location} GET /hatch/v1/seo-head GET /hatch/v1/schema POST /hatch/v1/auth/login

Where Hatch fits, and where it does not.

Better you know before you install it.

Hatch fits when

The good match

  • WordPress is already where you write
  • You want the frontend in your own Cloudflare account
  • Your site is reachable over HTTPS
  • You want open source you can change

Look elsewhere when

The honest limits

  • You need a host other than Cloudflare. Version one is Cloudflare only.
  • You are starting a content model from scratch. A headless CMS may suit better.
  • You want a ranking promise. Hatch makes none.
  • You need a frontend with no JavaScript at all. The Astro frontend ships a small amount of JavaScript.

Why we built Hatch.

Every conversation about a hard-to-manage WordPress site ended the same way: a caching plugin, a CDN plugin, a few support tickets, and the same worries a month later.

We wanted WordPress to stay modern without making anyone leave what they know. Developers should not have to run two stacks.

Security is the other half. When visitors are served from Cloudflare, WordPress no longer has to be the public face of your site, and the Security tab lets you close the doors visitors do not need.

Hatch is free and GPL because the people who need it most are freelancers and small teams building sites for clients.

The Hatch team

“I will just vibe-code it with Claude.”

A fair way to work when the site is only yours. It gets harder when someone else has to keep it running. Here is the same site, six months on.

Path one

Vibe-code the whole site

  1. Day 1Claude generates a site. It looks good.
  2. Month 2A client wants a headline changed. That means a developer or repo access.
  3. Month 4The SEO plugin, forms and media library get rebuilt by hand, one at a time.
Path two

Hatch, then use AI on top

  1. Day 1Install the plugin, paste a Cloudflare token. The Astro frontend is live.
  2. Month 2The client edits in the block editor and publishes. The site updates.
  3. Month 4SEO plugin, forms and media still work in WordPress. AI restyles the starter files.

A scenario, not a benchmark.

The honest answers, before you have to ask.

What does my site need?

WordPress 6.4 or newer, PHP 7.4 or newer, and a site reachable over HTTPS. A free Cloudflare account is enough. Nothing else to buy.

Do I have to switch themes or move my content?

No. Your content stays in WordPress and you keep writing in the block editor. Your theme stays installed. Visitors who land on a raw WordPress URL are sent to the new frontend, which reads your content over the REST API, while wp-admin, wp-login, the REST API, feeds, sitemaps and previews are never redirected.

What changes when I press Deploy?

Nothing on your site or in your Cloudflare account changes until you press Deploy, and the consent box lists the changes before you tick it. Hatch uploads the frontend as a Worker to your Cloudflare account and does not create users or passwords: you create the Subscriber account and Application Password for the frontend yourself. Permalinks change to /%postname%/ only if you tick that option. Disconnect undoes it.

Where does my Cloudflare token go?

The token is encrypted, never shown again and never logged. There is no Hatch server, account or hosted deploy service in the middle: the Worker is uploaded straight to your own Cloudflare account.

What happens to forms, comments and logins?

They stay on your WordPress site. The frontend talks to WordPress for all three, and Cloudflare Turnstile is optional.

Which plugins does Hatch work with?

Rank Math and Yoast for SEO, Fluent Forms, WPForms, Contact Form 7 and Gravity Forms for forms, WooCommerce for stores, and RankReady. ACF, Secure Custom Fields, Meta Box and Pods field groups are checked for REST visibility. Your SEO plugin meta is passed to the frontend.

Can I deploy somewhere other than Cloudflare?

Not in version one. Cloudflare only. Netlify, Vercel and Spacefast are planned, no date. The hatch/v1 REST API works with any frontend if you want to build your own.

Does Hatch cost anything?

Hatch itself has no fees. The free Cloudflare plan includes Workers, which is what Hatch deploys to.

Will going headless make my site rank higher?

Hatch makes no ranking or citation promise. It passes your SEO plugin meta to the frontend. Results still depend on your content.

Is the Astro starter open source?

Yes. The plugin is GPL-2.0-or-later. Start from one of the three starter designs: Editorial, Terminal or Docs.

Your WordPress, on a modern Astro frontend.

Keep the editor you know. Hatch puts an Astro frontend in front of it, and one button takes it back off.