Insights

Astro vs WordPress: why we build websites in Astro, and when we don't.

Astro vs WordPress comes down to one trade. Astro builds your pages ahead of time into light HTML with no JavaScript by default, so the live site has no database, no PHP and no plugins to patch. WordPress gives editors a dashboard and thousands of plugins, and asks for steady maintenance in return. For brand-led websites, we choose Astro.

Plan a strategic call
Our webdesign approach

Webdesign

19 min read

Most companies don’t choose WordPress. They inherit it. Someone set it up years ago, a page builder and twenty plugins followed, and now every update feels like a small gamble. The site is slower than it should be, and nobody is quite sure whether it is secure.

We build most of our client websites in Astro, and the site you are reading runs on it too. This guide explains what an Astro website is and how Astro vs WordPress plays out on SEO, speed, security, editing and cost. It also covers where Wix, Squarespace and Webflow fit, and the situations in which we would tell you to choose something else. Every figure below was checked against its original source in November 2026.

What is an Astro website?

An Astro website is a site built with Astro, an open-source web framework for content-driven websites: company sites, blogs, portfolios, documentation and online stores. Astro renders pages on the server into plain HTML and sends no JavaScript to the browser by default. Only the parts that need to be interactive, such as a booking widget or an image carousel, load their own small script.

Astro calls those parts islands. A page is a sea of light, static HTML with a few islands that load JavaScript, and only when they need to. The Astro documentation is direct about the goal: it should be nearly impossible to build a slow website with it. The same page is just as clear about scope. Astro was designed for content-rich sites, while most modern JavaScript frameworks were designed for web applications such as dashboards and inboxes.

A hand lifting a neat stack of printed pages from a walnut desk, like a website whose pages are built before anyone visits.

How Astro differs from WordPress

WordPress is a content management system. It stores your content in a database, gives editors an admin dashboard and assembles each page with PHP when someone requests it, with plugins adding features along the way. Astro is a framework. A developer uses it to build the site, and the content lives in plain text files in the project or comes from a headless CMS such as Sanity. If those terms are new, our guide to tech terms like headless CMS and Astro explains them.

Astro is free and open source under the MIT licence. In January 2026 The Astro Technology Company, the team behind the framework, joined Cloudflare. Astro stays open source and keeps supporting other hosts, so you can still run an Astro site wherever you like.

Why we build in Astro

We don’t pick technology because it is new. At Viralistic a website starts with your brand: a brand script that explains in a few sentences what you do and for whom, a sitemap and a design in Figma. The build comes last. For that step we wanted a foundation that is fast without tricks, needs little upkeep and leaves our clients’ content in their own hands. Astro does that.

We also live with it every day. This website is built with Astro and Fulldev UI, the open-source component library by Sil Veltman of Fulldev in Groningen, who guided our development. Every page, including this guide, is a text file checked against a strict schema. If a required field is missing, the site refuses to build, so nothing broken goes live. Our Astro guides in the help center show how we set up a project step by step.

Astro vs WordPress for SEO

Astro gives a website an excellent technical foundation for search, but it does not rank a page on its own. You get fast pages, complete HTML and full control over everything search engines read. Whether you rank then depends on your content, your structure and the links pointing to your site.

Full control over markup and metadata

On an Astro website you decide every line the browser receives. Titles, meta descriptions, canonicals, headings, structured data, the sitemap, robots.txt and redirects live in the code and the content, not in a plugin that may clash with your theme. On our own site, Astro generates BlogPosting, breadcrumb and FAQ schema for every article from the page’s own fields, and no editor can switch it off by accident. WordPress can do much of this too, usually through an SEO plugin such as Yoast or Rank Math, but the output then depends on how that plugin, your theme and your page builder get along. Our guide on how to make an Astro site rank well shows the setup.

Readable without JavaScript, including by AI

A static Astro site delivers its full text in the initial HTML. That matters more than it used to. Research by Vercel and MERJ, published in December 2024, found that none of the major AI crawlers, including those from OpenAI, Anthropic and Perplexity, execute JavaScript. Content that only appears after scripts run is invisible to them. Google does render JavaScript, but it still helps when everything is in the HTML from the start.

To be fair to WordPress: it also renders pages on the server and delivers plain HTML. Against WordPress, the difference is not visibility itself. It is how much control you have over that HTML and how much weight surrounds it. Against sites built entirely in the browser, the difference is large. For the wider picture, read how to show up in AI search.

Speed helps, but it does not rank you

Google states that its ranking systems use Core Web Vitals, and also that good scores do not guarantee top rankings (Google Search Central). Google will always show the most relevant page, even if its page experience is weaker. Only when many pages are equally helpful can a great experience tip the balance. A fast site with thin content will still lose to a slower site with the best answer.

That is why an Astro website belongs inside a broader plan. Our guides to SEO optimisation and how to rank higher on Google cover the rest.

Astro vs WordPress on speed: the real-world data

An Astro website is fast because almost nothing has to happen when someone visits. The pages are built in advance and served as files from a global network of servers. No database is queried per visit, and no PHP has to assemble the page first.

On a classic WordPress site that work happens on every request, unless a caching plugin or the host absorbs it, and the scripts of themes, page builders and plugins come on top. An Astro site starts without that layer. On our sites, images are resized and converted automatically and fonts are self-hosted. The site starts out fast, and nobody has to rescue it later.

What real users experience

The best measure is how real visitors experience a site. HTTP Archive’s Core Web Vitals Technology Report matches field data from Chrome users with the technology each site runs on. Search Engine Journal compared the April 2026 figures for seven platforms. The chart shows the share of sites that pass all three Core Web Vitals.

Sites with good Core Web Vitals by platformShare of sites passing all three Core Web Vitals, April 2026
0%25%50%75%100%85%80%79%67%64%58%49%DudaWixShopifyAstroDrupalJoomlaWordPress0%25%50%75%100%85%80%79%67%64%58%49%DudaWixShopifyAstroDrupalJoomlaWordPress
Sites with good Core Web Vitals by platform
Good Core Web Vitals
Duda85%
Wix80%
Shopify79%
Astro67%
Drupal64%
Joomla58%
WordPress49%

Source: HTTP Archive Core Web Vitals Technology Report, April 2026, via Search Engine Journal

At 67%, Astro sits well above WordPress, where roughly 49% of sites pass. In the same comparison, Astro sites had the lightest pages and the highest median Lighthouse score: 68, against 44 for WordPress. The chart also shows that Duda, Wix and Shopify score higher than Astro. Those are closed platforms that control the whole stack, from code to hosting. Search Engine Journal adds that Astro’s score may partly reflect the simpler sites people tend to build with it.

Our reading: Astro gives you a light foundation with full control in your own hands. Whether the site stays fast depends on what you add later. Chat widgets, tag managers and heavy video embeds slow down every platform. So we measure after launch, and when a score drops, we look first at what was added recently.

Is an Astro website secure?

A static Astro website is very hard to hack, but not unhackable. The live server has no database, no PHP and no plugins, which removes the attack surface where most WordPress incidents begin. What remains are the accounts and services around the site, and those still need care.

Where WordPress vulnerabilities come from

The numbers from Patchstack, which tracks WordPress vulnerabilities, are clear. In 2025 Patchstack recorded 11,334 new vulnerabilities in the WordPress ecosystem, 42% more than in 2024. Of those, 91% were in plugins and 9% in themes. Only six were reported in WordPress core, all low priority. For 46%, the developer had no fix ready when the vulnerability became public, and the most heavily targeted ones were exploited within a weighted median of 5 hours.

WordPress core is rarely the problem, then. The risk sits in the stack of extensions an average site depends on, and in how fast attackers move. A good WordPress specialist keeps that stack short and patches it quickly. A static Astro site has no such stack on its server at all. There is no login page for anyone to guess passwords on and no database to break into.

What still needs care on an Astro site

A smaller attack surface is not zero. These parts of an Astro website still need attention:

AreaThe riskWhat helps
Domain and DNSSomeone changes your DNS and takes over your site or your emailManaged DNS and two-factor authentication at your registrar
Hosting and code accountsA leaked password gives access to the site or its source codeIndividual logins with two-factor authentication
CMS login, if you use oneA CMS such as Sanity has its own login and permissionsOnly the permissions people need, and access removed on time
Third-party scriptsA chat widget or tag manager loads code from another companyOnly scripts that earn their place, and a short list
DependenciesThe packages used to build the site also receive security fixesRegular updates, with the build checked after each one

With managed hosting, we take most of this off your plate: domain and DNS management, SSL, security and dependency updates, daily backups and uptime monitoring, with one person to call. Because there is no plugin stack that needs patching every week, that upkeep stays small. To give a developer or agency access without sending passwords, see share logins and access safely.

Can you edit an Astro website yourself?

An Astro website has no WordPress dashboard, but you can still edit it yourself. On our sites all text lives in clear files that you change in the browser, with a preview before anything goes live. You can also ask for changes in plain language, or leave them to us.

A hand marking a printed page proof with a pencil beside a closed laptop, the way a change is reviewed before it goes live.

The simplest route is editing in the browser. Every page is a file in your project on GitHub. You open it, change the text and submit the change as a pull request. Netlify builds a preview within a couple of minutes, and the change only goes live once you approve it. If something breaks, the live site stays exactly as it was. The steps are in edit text and pages.

Then there is what we call a website you can talk to. Because all content sits in plain text files with a fixed structure, an AI assistant such as Claude Code can read and change the whole site. You might ask for a new service page in the same style as the others. Claude proposes the change, checks that the site still builds, and you review the result before it goes live. Our guide to editing your site with Claude Code walks through it. The same structure makes your website the source of truth for your company. Your tools can read from it, and with automations in n8n we connect it to your CRM.

If many editors work on the site, you publish daily or you need scheduled posts, we connect a headless CMS such as Sanity. Editors get a friendly interface while the site itself stays fast and static. Most company sites don’t need it. Our guide to using Sanity with Astro shows where the line is.

Would you rather not touch it at all? Small changes can go through us as part of managed hosting. The honest trade-off: if your marketing team wants to build new pages visually every week, Webflow will usually suit them better.

Who owns and maintains an Astro website?

You own the code and the content. Text changes need no developer, but new page types, components and framework upgrades do. That trade is the real difference with WordPress, where an owner can install a plugin alone and a large pool of developers can take over.

The pool of Astro developers is smaller, so the handover matters more than the framework. Before launch, make sure these sit in your own name:

  • the Git repository, in your company’s own GitHub organisation
  • the hosting account and the domain, with DNS you control
  • any CMS, form service and analytics accounts, with your partner added as a collaborator
  • a short note on how content is edited, how a change goes live and whom to call

At Viralistic every step of a project is a finished deliverable you keep, and the website is no exception. Our sites follow one fixed structure with a strict content schema, so another Astro developer can read the project without reverse-engineering it. Astro has released at least one new major version every year since 2022, so plan for upgrades. With managed hosting, dependency updates are part of what we look after.

Astro vs WordPress cost: what you pay over three years

Astro itself is free. You pay for strategy, design, development and content, and after launch for hosting and maintenance. At Viralistic, webdesign projects start around EUR 4,000, and larger CMS-driven platforms can reach EUR 20,000 or more.

The framework barely moves the build price, which comes from the thinking, the design and the content. The difference shows up in the years after launch. A static site is cheap to host and needs little technical upkeep. That is why we always look at the cost of a website over several years, and why the hours spent on maintenance often outweigh the build budget.

The calculator below makes that visible. Its default values are a worked example with fictional amounts: EUR 6,000 for design and build, EUR 50 a month in fixed costs and two hours of maintenance a month at EUR 80 an hour. That adds up to EUR 2,520 a year and EUR 13,560 over three years. Drop maintenance to half an hour a month and the total falls to EUR 9,240.

What does your website cost over three years?Enter the figures from your own quotes and see what a website really costs over three years.
Running costs per year
€ 2,520
Total over three years
€ 13,560

Run it once for each platform you are considering, including hosting, licences and the hours someone spends on updates. Our guide to website maintenance services lists what good upkeep should include, and how much a website costs compares every level, from DIY builders to a premium agency.

Astro, WordPress, Wix, Squarespace or Webflow?

If you are looking for a WordPress alternative, you are probably weighing website builders such as Wix and Squarespace, a visual platform such as Webflow and a framework such as Astro. Astro is the strongest choice when speed, control and ownership matter more than a visual editor or a plugin store. Every platform has its place, and this table compares them fairly.

AstroWordPressWixSquarespaceWebflow
SpeedLight HTML, no JavaScript by defaultDepends on theme, plugins and hostingManaged by Wix, scores wellManaged by SquarespaceManaged by Webflow
SEO controlFull: markup, metadata, schema, redirectsExtensive, often through pluginsBuilt in, within Wix’s limitsBuilt in, within Squarespace’s limitsBroad, within Webflow’s limits
SecurityNo database, PHP or plugins on the serverLarge attack surface, mostly pluginsHandled by WixHandled by SquarespaceHandled by Webflow
MaintenanceDependency updates, no plugin stackCore, theme and plugins, every weekNone, the platform does itNone, the platform does itNo servers or plugins
EditingFiles with preview, AI tools or a CMSDashboard and block editorVisual editorVisual editor with templatesVisual canvas for your marketing team
CostDesign and build up front, then low hostingLow entry, ongoing maintenance and licencesMonthly subscriptionMonthly subscriptionSite and Workspace plans
Lock-inNone: the code and content are yoursLow: open source, many hostsHigh: no full-site exportHigh: partial export to WordPressMedium: code export without CMS content

When WordPress is still the better fit

Is WordPress still worth it in 2026? For the right site, yes. It fits when an editorial team with several writers publishes often, when you need features that mature plugins already cover, such as memberships or courses, or when your WooCommerce store is tightly woven into your content. The condition is a budget for structured maintenance. Astro fits when the site mainly has to carry your brand and expertise, a small group edits it, and speed and low upkeep matter more than thousands of plugins.

There is a middle road too. Astro can use WordPress as a headless CMS: your editors keep the dashboard they know, and Astro builds the public site from that content. Just remember you now run two systems, and the WordPress install behind it still needs its updates.

Wix and Squarespace

A website builder is a smart choice when your site is small, you want to put it together yourself and it rarely changes. The platform handles hosting, security and updates, and as the chart showed, Wix performs well on Core Web Vitals. You do work within that platform’s limits, and moving away usually means rebuilding. Our honest Squarespace review shows where that line sits.

Webflow

Webflow is the choice when your marketing team wants to build and change pages visually. We build in Webflow as well, using Finsweet’s Client-First and Timothy Ricks’ Lumos. On paid Workspace plans you can export the code, but CMS content is left out, and forms and site search stop working outside Webflow. Our guide on how to choose a Webflow agency explains when Webflow is the right call and when Astro fits better.

Multilingual websites

Astro has internationalisation routing built in: each language lives in its own folder and gets its own URLs. WordPress usually needs a translation plugin such as WPML or Polylang, which adds a licence or another component to keep updated. This site runs in English, Dutch and German from one Astro project, and each language version targets its own local search terms rather than a word-for-word copy.

Switching without losing rankings

The biggest SEO risk of switching sits in the migration, not in the new platform. A careful move looks like this:

  1. List every old URL: the sitemap, the pages with clicks in Google Search Console and the pages with external links.
  2. Map each old URL to its closest new page with a permanent 301 redirect. Don’t send everything to the homepage.
  3. Carry over titles, descriptions, structured data and forms. On WordPress a plugin often handled these without anyone noticing.
  4. Submit the new sitemap at launch and check weekly in the first month which old addresses still return errors.

Our guide on keeping your rankings when you relaunch covers the technical side.

When Astro is the wrong choice

Astro is not the best choice for every website. We advise against it when your team genuinely needs a visual editor or a large plugin ecosystem, when you are building a large store or an application, or when your current site already works.

Your situationWhat fits better
An editorial team with many writers, roles and approvals, used to a dashboardWordPress, or Astro with a headless CMS such as Sanity
A store with thousands of products, inventory and a complex checkoutA commerce platform such as Shopify or WooCommerce
An application with logins, dashboards and lots of interactionA framework built for web applications
A marketing team that wants to build pages visually every weekWebflow
A small site you build yourself and update twice a yearA website builder such as Squarespace or Wix
A healthy WordPress site with a short plugin list and good maintenanceStay where you are

Sometimes a new website isn’t the first step at all. If your site works but nobody finds it, start with SEO. If your story isn’t clear yet, a faster site won’t fix that. We will tell you when that is the case.

How we help

Viralistic is a strategic digital partner on the Achtergracht in Amsterdam, working with established businesses and premium brands. A website with us never starts with code. We check your brand guide, write your brand script and sitemap, design your key pages in Figma and then build the site in Astro, in six phases you approve one by one. If Webflow suits your team better, we say so and build there instead.

After launch, managed hosting keeps your site live, fast and secure, with one point of contact for domain, DNS, SSL, email and updates. On that foundation we build your visibility in Google and in AI answers, and only when that is in place does paid marketing add anything. A person checks every page before launch, also when AI helped. Explore our webdesign approach or plan a strategic call, and we will look together at how Astro vs WordPress plays out for your brand, and whether an Astro website is the right next step.

Frequently asked questions

Is Astro free to use?

Yes. Astro is open-source software under the MIT licence, and you can use it for commercial websites at no cost. You pay for strategy, design, development, content and hosting, not for the framework. After Cloudflare acquired the Astro team in January 2026, Astro stayed open source, and you can still deploy an Astro site to the host of your choice.

Is Astro better than WordPress?

For websites that mainly carry a brand and its expertise, usually yes. Astro sites are lighter, pass Core Web Vitals more often and have no plugins on the server that could hold vulnerabilities. WordPress remains stronger for large editorial teams, plugin-heavy sites and WooCommerce stores. The right choice depends on who edits the site and what it has to do.

Is Astro faster than WordPress?

Usually, yes. Astro serves pages that were built in advance and sends no JavaScript unless a component needs it, while WordPress assembles pages with PHP unless caching steps in. In HTTP Archive’s April 2026 field data, 67% of Astro sites passed all three Core Web Vitals, against roughly 49% of WordPress sites.

Is Astro good for web apps?

Astro can run server-side code, render pages on demand and add interactive islands, so it handles a fair amount of dynamic functionality. Its own documentation, though, describes Astro as designed for content-driven websites, while most other modern frameworks were built for web applications. For a product with logins, dashboards and constant interaction, an application framework is usually the better fit.

Can Astro use WordPress as a CMS?

Yes. Astro can pull posts and pages from WordPress through its REST API, so editors keep the WordPress dashboard while Astro builds a fast public site. The catch is that you now maintain two systems, and the WordPress install behind the site still needs updates and security care. For many teams, a purpose-built headless CMS or plain files are simpler.

Can I edit an Astro website myself?

Yes. On our Astro sites all text lives in clear files you edit in the browser, with a preview before anything goes live. You can also ask Claude Code for changes in plain language. If many editors work on the site, we connect a CMS such as Sanity. Small changes can also go through us as part of managed hosting.

Do I need a developer to run an Astro website?

For text, images and new articles, no: you edit files in the browser or ask Claude Code. For new page types, components and framework upgrades, yes. That is why the repository, hosting and domain should sit in your own name, so any Astro developer can take over if you ever change partner.

Can an Astro website be hacked?

Any website can be attacked, but a static Astro site gives attackers very little to work with. There is no database, no PHP, no plugin and no login page on the live server. The risk moves to your domain, DNS, hosting and CMS accounts and any third-party scripts. Individual logins, two-factor authentication and managed DNS cover most of it.

Will I lose rankings if I move from WordPress to Astro?

Not if the migration is done carefully. Rankings usually drop because of missing redirects, lost titles or structured data that disappeared with a plugin, not because of the new platform. Give every old URL a permanent 301 redirect to its closest new page, carry over your metadata and watch Google Search Console closely in the first weeks after launch.

Written by

Marrallisa Kreijkes

Founder of Viralistic and official n8n Ambassador

Marrallisa leads strategy, design, search and automation for premium brands from Amsterdam. She has trained teams at Volkswagen and speaks at n8n and Anthropic events. Want to talk through your situation? Book a call with her directly.

Keep reading
All insights ↗