Black Friday: 50% off Pro All Access until Nov 30
All articles
Comparisons 12 min read

Astro vs WordPress for Client Websites

Astro vs WordPress for client sites: static HTML vs a PHP app, hosting cost, plugin patching, client editing, stores, SEO and handoff, with a decision table.

Published

Updated

On this page

Choose WordPress when the client needs to edit and grow the site on their own, every week, without calling you. That covers clients who add pages and plugins themselves, run a WooCommerce store, or have staff already trained on the WordPress dashboard. Choose Astro when the site is mostly marketing pages that change now and then. You get fast static HTML, very little to patch and cheap hosting, and the client still gets an editing screen if you add a CMS.

Most freelancers use both and decide per client; the decision table sums it up. We sell Astro themes, and WordPress still wins several categories below.

How Astro and WordPress differ at the core

Most of the differences that matter to clients come from one architectural choice.

WordPress is a PHP application with a MySQL database. When a visitor requests a page, the server runs PHP, queries the database, runs active plugins, and builds the HTML. Caching plugins and CDNs exist to avoid repeating that work on every visit. The admin dashboard, login page, plugin system, and public site all live in the same application.

It is also the default choice for most of the web. W3Techs counts WordPress on 39.5% of all websites and 58.2% of sites with a known CMS (W3Techs, November 1, 2026), so many clients and their staff already know the dashboard.

Astro is a build tool. By default it turns your components and content into plain HTML files at build time. Content usually lives as Markdown or data files in the project, or is fetched from a CMS during the build. The output is a folder of static files you can host almost anywhere. Pages ship zero JavaScript by default: interactive parts are opt-in โ€œislandsโ€ that load only where you use them. When you do need server logic (form handling, auth, personalized pages), you add an adapter such as Cloudflare, Netlify, or Vercel and render those routes on demand.

So WordPress is a running application you operate. A static Astro site is a set of files you publish. Everything else follows from that.

Astro vs PHP

Astro does not run PHP. You write components in .astro files with JavaScript or TypeScript. For a static site, Node.js runs only on your machine and in the build step. The output of a static build is HTML, CSS and a little JavaScript, so you can upload it to any host, including the shared PHP hosting a client already pays for. If a page needs server code, such as a form handler, you write it in JavaScript or TypeScript as an on-demand route with an adapter, not as a PHP file.

Is Astro faster than WordPress?

We will not quote benchmark numbers. They depend on the theme, host, plugins, images, and who configured the caching. The structural reasons are more useful:

  • Static HTML from a CDN. An Astro page is already built before anyone requests it. There is no PHP execution or database query on the request path, so the time to first byte depends mostly on the CDN.
  • No JavaScript unless you ask for it. Astro components render to HTML. A mobile menu or slider ships its script only on the pages that use it. Many WordPress themes and page builders load jQuery, builder runtimes, and plugin scripts site-wide.
  • Weight stays put. An Astro site only gets heavier when a developer adds something. A WordPress site tends to get heavier as the client installs plugins for sliders, popups, chat widgets, and analytics.
  • Built-in image handling. Astroโ€™s <Image /> component generates sized, modern-format images at build time.

A well-built WordPress site on good hosting with a lightweight theme can be fast. It just takes more ongoing effort to keep it fast, and that effort often lands on you after handoff.

Hosting cost

Astro (static): Cloudflare, Netlify, Vercel, and GitHub Pages all host static sites, and their free tiers cover a typical small-business site. Check each providerโ€™s current limits. You pay for the domain and, if you choose one, a CMS plan. If you add server-rendered routes, you move onto the providerโ€™s function or Worker pricing, which is still cheap at small-business traffic. See how to deploy Astro to Cloudflare for a full walkthrough.

WordPress: You need PHP and MySQL hosting. Cheap shared hosting exists, but the client sites you want to put your name on usually end up on managed WordPress hosting, which costs more per site. Add premium plugin licenses (forms, SEO, backups, security, page builders), and many of those renew yearly.

For an agency hosting dozens of brochure sites, this difference adds up quickly. For a single client, it usually matters less than the editing question below.

Security and maintenance

This is where Astro has the clearest advantage for brochure sites. Patchstack recorded 11,334 new vulnerabilities in the WordPress ecosystem in 2025, 42% more than in 2024. 91% were in plugins, 9% in themes and only 6 in core, and 46% had no fix available when they were disclosed (Patchstack, State of WordPress Security in 2026). The risk sits in the plugins a client site depends on.

WordPress maintenance is a real recurring job:

  • Core, theme, and plugin updates, with the risk that one update breaks the layout or conflicts with another plugin
  • Monitoring for vulnerable or abandoned plugins
  • Backups of the database and uploads, and testing that restores work
  • Hardening the login page, spam control, and malware cleanup when something slips through
  • PHP version upgrades on the host

WordPress can auto-update core minor releases and, if you enable it, plugins. That reduces the work but adds the risk of an unattended update breaking the site.

A static Astro site has no database, no public login page, and no plugins executing on the server. There is very little for an attacker to target on the live site. Maintenance becomes:

  • Updating npm dependencies from time to time (npm outdated, then npm update or an Astro upgrade with npx @astrojs/upgrade)
  • Rebuilding and redeploying, ideally from Git so every change is versioned
  • Keeping any CMS and any server routes you added patched

The catch is that dependency updates need a developer. A client can click โ€œUpdate allโ€ in WordPress. They cannot reasonably run an Astro major-version upgrade themselves.

Content editing for non-technical clients

WordPress wins this category by default. Clients know the dashboard, the block editor is built in, there are endless tutorials, and they can add a page, a blog post, or a new plugin without you. For a client who wants full control and plans to change the site constantly, that matters more than performance.

An Astro site has no admin panel unless you add one. The content usually lives in Markdown files and a config file, which is fine for you and for developer-led teams, but not for a dentistโ€™s office manager. To close the gap, Astroโ€™s docs list a long set of CMS integrations. These are the ones most useful for client work, all of which have guides in the Astro CMS docs:

CMSTypeHow it works with AstroGood fit when
Decap CMSGit-based, open sourceAdmin page at /admin/ with a config.yml; commits edits to the repo. Auth needs setup on your hostSimple blogs and pages, low budget, you are comfortable configuring
TinaCMSGit-backednpx @tinacms/cli@latest init; edits Markdown in the repo, production via Tina Cloud or self-hosted data layerYou want a friendlier editor on Markdown content
KeystaticGit-based@keystatic/astro integration with React and Markdoc; local or GitHub storageTyped content models defined in code, small teams
CloudCannonGit-based, commercialConnects to your GitHub, GitLab, or Bitbucket repo; visual, content, and data editors; editable regions for Astro componentsClients want on-page visual editing and you want support
SanityAPI-based, hostedOfficial Astro integration; content lives in Sanity and is fetched at build or request timeStructured content reused across pages or channels
StoryblokAPI-based, hosted@storyblok/astro; component-based visual editorMarketing teams that build pages from blocks

Two practical points:

  1. Git-based CMSes store content in the same repository as the code. That keeps everything versioned and portable, and there is no extra content service to pay for in some cases. Each save typically triggers a rebuild, so the change goes live after the build finishes rather than instantly.
  2. API-based CMSes keep content in a hosted service. Editors get a polished interface, but you add a vendor, a pricing plan, and a content model to maintain. You also need a webhook to rebuild on publish, or server rendering for live content.

There is also a middle road: keep WordPress as a headless CMS and build the public site in Astro. The client keeps the editor they know. You keep Astroโ€™s front end. You also keep WordPress updates, so this rarely saves maintenance. The Astro WordPress guide shows how to fetch posts from the WordPress REST API.

Tell clients up front what they will be able to change. Editing text, images, blog posts, and team members through a CMS is easy to deliver. Letting them design new page layouts from scratch is much harder in Astro than with a WordPress page builder.

Forms

WordPress: Install a form plugin, build the form in the dashboard, done. Entries can be stored in the database, which clients like.

Astro (static): HTML forms post to a form service such as Formspree, FormSubmit, or Netlify Forms (if you host on Netlify). That takes minutes and involves no server code. If you need custom handling, such as sending to a CRM or validating server-side, add an adapter and handle the submission in an on-demand route or an Astro Action.

Our business themes, for example, let you pick the contact form provider (formsubmit.co, formspree, or netlify) in src/config/config.toml instead of wiring it by hand. Whatever you use, add spam protection and confirm who owns the form service account before handoff.

Ecommerce

WordPress wins for real stores. WooCommerce gives clients product management, inventory, shipping, taxes, coupons, and a huge extension ecosystem, all in the dashboard they already use. Shopify is the other obvious answer.

Astro works well for smaller commerce. The Astro ecommerce guide covers payment overlays like Paddle and Lemon Squeezy and full cart services like Snipcart. That suits digital products, a short product list, event tickets, or a services site with a โ€œpay depositโ€ button. You can also build a custom storefront on a commerce API, but that is a much bigger project.

Rule of thumb: if the client will manage stock and orders every day, do not make them do it in Markdown files.

Multilingual sites

WordPress relies on plugins such as WPML, Polylang, or TranslatePress. They are mature and give clients a translation UI, but they add licensing, database complexity, and another thing to update.

Astro has i18n routing built in. You declare locales in the config:

// astro.config.mjs
import { defineConfig } from "astro/config";

export default defineConfig({
  i18n: {
    locales: ["en", "fr"],
    defaultLocale: "en",
    routing: {
      prefixDefaultLocale: false,
    },
  },
});

You still have to structure translated content and menus yourself, and editors need a CMS that understands locales. Our Astro multilingual website guide walks through the full setup. Getastrothemes themes ship with English and French content, menus, and routing already wired, plus npm run remove-multilingual if the client only needs one language.

Is Astro better than WordPress for SEO?

Both platforms can rank. Neither ranks a site by itself.

WordPress has Yoast, Rank Math, and similar plugins that give clients a checklist interface for titles, descriptions, and schema. That interface is a real benefit for clients who want to manage their own SEO.

Astro gives you full control of the HTML: clean markup, no unused scripts, and fast pages, which helps Core Web Vitals. Sitemaps come from @astrojs/sitemap, and meta tags and structured data are set in layouts and frontmatter. There is no checklist UI for clients unless you add SEO fields to the CMS schema.

If you migrate a site, protect existing URLs. Most SEO losses during migrations come from broken URLs and missing redirects, not from the framework.

Handoff and client ownership

Decide this before quoting, because it changes the price.

WordPress handoff: The client gets an admin login. They can change hosts, hire another WordPress developer, or edit things themselves. That portability is a real selling point, since WordPress developers are easy to find.

Astro handoff: The client should get:

  • The Git repository, ideally in their own GitHub organization, or transferred to them
  • Hosting account access in their name (Cloudflare, Netlify, or Vercel), with the domain DNS they control
  • CMS accounts in their name, with you as a collaborator
  • Form service and analytics accounts in their name
  • A short README: how to edit content, how deploys work, who to call

Hiring another Astro developer is fine for a static site, but the pool is smaller than WordPress. A theme with documentation and a conventional structure helps here, because the next developer can read the docs instead of reverse-engineering your custom build. Check that your theme license covers client work too: see our theme licenses explained post and the license page.

Maintenance retainers and billing

The business model shifts more than most people expect.

WordPress retainers are easy to sell because the work is visible: updates, backups, security monitoring, uptime. Clients understand โ€œwe keep your plugins patched.โ€

Astro retainers have less defensive work, so build them around value instead:

  • A set number of content edits or landing pages per month
  • Dependency and Astro upgrades a few times a year
  • Performance, SEO, and analytics reporting
  • Small feature work (new sections, new forms, new languages)
  • CMS support for the clientโ€™s editors

Many freelancers find they can manage more Astro sites per person, because a static site rarely breaks on its own. Some clients will prefer a lower fixed fee with hourly change requests. Either way, write down what โ€œmaintenanceโ€ includes, because โ€œnothing broke this monthโ€ is harder to invoice than โ€œwe applied 14 updates.โ€

Choose WordPress when

  • The client wants to add pages, change layouts, and install features without you
  • Staff already know WordPress and do not want to learn a new editor
  • The site is a real store with inventory, shipping, and daily order management
  • The project depends on specific plugins with no reasonable Astro equivalent (membership, LMS, booking systems, complex directories)
  • The client wants the largest possible pool of future developers
  • Your retainer business is built on WordPress care plans and that is working for you

Choose Astro when

For brochure and service sites, Astro works as a WordPress alternative with no database, no PHP and no plugins to patch. Choose it when:

  • The site is mostly marketing pages: services, about, case studies, team, blog, contact
  • Content changes weekly or monthly, not hourly
  • Speed, security, and low maintenance matter more than client-side design freedom
  • You want cheap or free static hosting across many client sites
  • You or your team are comfortable with Git, npm, and a code editor
  • The client is fine with a structured CMS, or is happy to send changes to you
  • You need multilingual routing without a paid translation plugin

Decision table

FactorWordPressAstroEdge
Page speed by defaultDepends on theme, host, plugins, cachingStatic HTML, zero JS by defaultAstro
Hosting costPHP/MySQL hosting, often managedStatic hosting, free tiers commonAstro
Security surfaceDatabase, login, server-side pluginsStatic files; dependencies at build timeAstro
Routine maintenanceFrequent core/plugin/theme updatesOccasional dependency upgrades by a developerAstro
Client self-editingBuilt in, familiarRequires a CMS you set upWordPress
Client adds new features aloneInstall a pluginNeeds a developerWordPress
FormsForm plugins with stored entriesForm services or server routesTie
Large online storeWooCommerceHosted checkout for small catalogsWordPress
MultilingualMature paid pluginsBuilt-in i18n routing, content structure is on youTie
SEO tooling for clientsYoast, Rank Math UIFull HTML control, no UI unless you build itDepends on who edits
Developer availabilityVery large poolSmaller, growing poolWordPress
Version control and rollbacksPossible, not the default workflowEverything in Git by defaultAstro

If most rows point to Astro for your next client, start from a theme instead of a blank project. Browse the demos on our themes page and check them against the clientโ€™s brief, or compare free options in our Astro agency themes list.

Migrating a WordPress site to Astro

If you already have WordPress clients who would benefit from Astro, the official migration guide is a good starting point. In practice:

1. Decide where content will live

You have three options: export posts to Markdown files, keep WordPress as a headless CMS, or move to another CMS. For a small business site with a few dozen posts, exporting to Markdown is usually simplest. The Astro docs point to the community tool wordpress-export-to-markdown, which converts a WordPress export file into Markdown with frontmatter and downloads images:

npx wordpress-export-to-markdown

Expect to clean up the output. Shortcodes, page-builder markup, and embedded plugin content will not convert cleanly.

2. Define a content collection for the posts

// src/content.config.ts
import { defineCollection } from "astro:content";
import { glob } from "astro/loaders";
import { z } from "astro/zod";

const blog = defineCollection({
  loader: glob({ pattern: "**/*.md", base: "./src/content/blog" }),
  schema: z.object({
    title: z.string(),
    date: z.coerce.date(),
    description: z.string().optional(),
  }),
});

export const collections = { blog };

Adjust the schema to match the frontmatter your export produced.

3. Rebuild the layout and replace plugins

Plugin features do not carry over. List every plugin and decide what replaces it: a form service, @astrojs/sitemap, a CMS, a booking embed, or nothing. Starting from a theme built for the clientโ€™s industry saves most of the layout work.

4. Preserve URLs and add redirects

Crawl the old site and list every indexed URL. Keep the same slugs where you can. For changed URLs, add redirects. Astro supports a redirects map in astro.config.mjs, and on Cloudflare or Netlify a public/_redirects file gives you proper server-side 301s:

/2024/05/old-post-slug/  /blog/old-post-slug/  301
/category/news/          /blog/                301

5. Deploy, then switch DNS

Deploy the Astro site separately, test it on a preview URL, then point the domain to the new host. Keep the old WordPress install offline but backed up for a while in case you missed content.

Where themes fit in an Astro client workflow

Starting every client site from a blank Astro project is where Astro loses time compared with picking a WordPress theme. A well-built theme closes that gap.

For service businesses, our premium themes are built around the pages these clients actually need: Looka for consulting firms, Lumio for IT and multi-service consultancies, Techbyte for managed IT providers, and Taxo for tax and accounting firms. Each ships with service, case study, FAQ, and blog pages, config-first setup in src/config/config.toml, and built-in English and French content. If you are building for one of those industries, our accounting firm and MSP website guides go deeper.

The limits are worth stating plainly. None of these themes ships a pre-wired visual CMS, so if the client needs one, budget time to connect it. And they are business sites, not stores.

Next step

If most of your client work is brochure, consulting, and service-business sites, try building your next one in Astro and keep WordPress for the clients who need to run the site themselves. Start with a free Lite theme to test the workflow, or follow our guide to installing and customizing an Astro theme.

If you build many client sites a year, the All Access Pass covers every premium theme, from $99 for Essential (1 project per theme) on November 1, 2026. The Pro plan allows 10 projects per theme, and Business allows unlimited projects per theme, which is usually the right fit for agencies.

Frequently asked questions

Is Astro faster than WordPress?

Usually, for brochure and marketing sites. Astro outputs static HTML and sends no JavaScript unless a component needs it. A WordPress site can be made fast with good hosting, caching, and a lean theme, but you start further behind and plugins add weight over time.

Can my client edit an Astro site without touching code?

Yes, if you add a CMS. Git-based options like Decap CMS, TinaCMS, Keystatic, and CloudCannon edit the Markdown and data files in the repository. API-based options like Sanity and Storyblok store content in a hosted service that Astro fetches. Out of the box, an Astro site has no admin panel.

Is Astro more secure than WordPress?

A static Astro site has a much smaller attack surface: no database, no login page, and no PHP plugins running on the server. You still need to keep npm dependencies updated, and any CMS or server routes you add need the usual care.

Can I use WordPress as a headless CMS with Astro?

Yes. Astro's docs cover fetching WordPress content into an Astro site. The client keeps the familiar WordPress editor, and the public site is built by Astro. The trade-off is that you now maintain two systems, and WordPress still needs updates.

Should I build an online store with Astro?

For a small catalog or digital products, Astro plus a hosted checkout like Snipcart, Paddle, Lemon Squeezy, or Stripe works well. For a large catalog with inventory, shipping rules, and a client who manages products daily, WooCommerce or Shopify is the more practical choice.

How do I bill maintenance for an Astro site?

There is less routine patching, so most freelancers shift retainers from plugin updates toward content changes, small feature work, dependency updates, and reporting. Be explicit in the contract about which content edits are included and how many hours per month.

Share this article

Every premium theme.
Future releases included. $99.

Premium theme collection preview
Premium theme collection preview